Skip to main content

REST API Reference

The Strongly REST API provides programmatic access to all platform resources. All endpoints are served at https://<your-instance>/api/v1.

Base URL

https://<your-instance>/api/v1

Replace <your-instance> with your Strongly instance hostname (e.g., mycompany.strongly.ai).

Authentication

All API requests require authentication via an API key. Include your key in the X-API-Key header:

curl -H "X-API-Key: sk-prod-your-key-here" \
https://<your-instance>/api/v1/auth/whoami

Creating an API Key

Create API keys in the Strongly UI under Profile > Security > API Keys, or via the session-authenticated API key endpoints.

Scopes

API keys are scoped to specific permissions. Available scopes:

ScopeDescription
apps:readRead app information
apps:writeCreate, update, delete apps
apps:deployDeploy, start, stop, restart apps
addons:readRead addon information
addons:writeCreate, update, delete addons
addons:deployStart, stop, restart addons
datasources:readRead data source information
datasources:writeCreate, update, delete data sources
workflows:readRead workflows and executions
workflows:writeCreate, update, delete workflows
workflows:executeExecute and stop workflows
projects:readRead project information
projects:writeCreate, update, delete projects
workspaces:readRead workspace information
workspaces:writeCreate, update, delete workspaces
volumes:readRead volume information
volumes:writeCreate, update, delete volumes
ai-gateway:readRead AI models and analytics
ai-gateway:writeCreate, update, delete AI models
ai-gateway:inferenceRun chat completions, embeddings
fine-tuning:readRead fine-tuning jobs
fine-tuning:writeCreate, manage fine-tuning jobs
ml-workbench:readRead experiments and AutoML jobs
ml-workbench:writeCreate, manage experiments and AutoML
model-registry:readRead model registry
model-registry:writeRegister and deploy models
governance:readRead governance policies and compliance
governance:writeCreate, manage governance resources
finops:readRead cost and budget data
finops:writeCreate, manage budgets and schedules
users:readRead user information
users:writeUpdate own profile
organizations:readRead organization information
organizations:writeManage org members and invitations
adminFull admin access
*Wildcard — all scopes

Scope Bundles:

Bundles expand to a set of individual scopes when assigned to a key.

BundleIncludes
read-onlyAll *:read scopes + marketplace:read
developerRead + write for apps, addons, datasources, workflows (incl. execute), projects, workspaces, volumes, AI gateway (incl. inference), fine-tuning, ML workbench, model registry. Read-only for governance, finops, users, organizations. Includes marketplace:read, marketplace:deploy
ci-cdapps:read, apps:write, apps:deploy, workflows:read, workflows:write, workflows:execute, addons:read, datasources:read, marketplace:read, marketplace:deploy
ml-opsai-gateway:read, ai-gateway:write, ai-gateway:inference, fine-tuning:read, fine-tuning:write, ml-workbench:read, ml-workbench:write, model-registry:read, model-registry:write
full-accessWildcard * (all scopes)

Rate Limiting

Requests are rate-limited per API key using a sliding window:

TierLimitApplied To
Standard120 req/minDefault for all endpoints
Inference300 req/minAI chat, completions, embeddings endpoints
Bulk30 req/minBulk import endpoints
Admin600 req/minKeys with admin or * scope

Rate limit headers are included in every response:

X-RateLimit-Limit: 120
X-RateLimit-Remaining: 119
X-RateLimit-Reset: 1706000000

When rate limited, the API returns 429 Too Many Requests with a Retry-After header.

Pagination

List endpoints return paginated results. Use these query parameters:

ParameterTypeDefaultDescription
limitinteger50Items per page (max: 200)
offsetinteger0Number of items to skip
sortstring-createdAtSort field. Prefix with - for descending

Paginated Response Format:

{
"data": [ ... ],
"meta": {
"total": 150,
"limit": 50,
"offset": 0,
"hasMore": true,
"requestId": "req_abc123"
}
}

The X-Total-Count header is also set on paginated responses.

Response Format

Success Response (200/201)

{
"data": { ... },
"meta": {
"requestId": "req_abc123"
}
}

Delete Response (204)

Empty body with 204 No Content status.

Error Response (4xx/5xx)

{
"error": {
"code": "not-found",
"message": "Resource not found",
"status": 404,
"requestId": "req_abc123"
}
}

The details field is included when additional context is available (e.g., validation errors, scope requirements):

{
"error": {
"code": "scope-required",
"message": "Scope 'apps:read' is required for this operation",
"status": 403,
"requestId": "req_abc123",
"details": {
"requiredScope": "apps:read",
"currentScopes": ["workflows:read"]
}
}
}

Error Codes:

CodeStatusDescription
unauthorized401Invalid or missing API key
forbidden403Insufficient permissions
scope-required403API key missing required scope (response includes requiredScope and currentScopes in details)
not-found404Resource does not exist
validation-error400Invalid request parameters (or 413 if body exceeds 10 MB)
duplicate409Resource conflict (e.g., duplicate name)
resource-in-use422Resource is currently in use
action-in-progress422An action is already in progress
rate-limited429Too many requests
backend-unavailable502Backend service unreachable (or 504 on timeout)
internal-error500Internal server error

Quick Start

Test your API key with a single curl command:

curl -H "X-API-Key: sk-prod-your-key-here" \
https://<your-instance>/api/v1/auth/whoami

A successful response returns your user, organization, and key details. If you get a 401 error, see the Authentication Troubleshooting guide.

API Sections

SectionEndpointsDescription
Authentication6API keys and identity
Apps11Application lifecycle
Addons18Managed databases and services
Data Sources9External data connections
Workflows17Workflow pipelines
Executions7Workflow execution history
Workflow Nodes8Node catalog
AI Inference3Chat completions, embeddings
AI Models14AI model catalog and lifecycle
AI Provider Keys6Provider API key management
AI Analytics5AI usage analytics
Fine-Tuning13Fine-tune language models
Experiments9ML experiment tracking
AutoML9Automated machine learning
Model Registry6Model versioning and deployment
Projects15Project management
Workspaces12Development environments
Volumes8Persistent storage
Users8User management
Organizations12Organization management
Governance40Policies, solutions, compliance
FinOps34Costs, budgets, schedules