Skip to main content
The Deepline API uses JSON over HTTPS. Endpoint pages include an interactive request builder, authentication, parameters, response schemas, and errors. Base URL: https://code.deepline.com Download the OpenAPI specification for API clients and tooling.

Authentication

Authenticated endpoints accept a workspace API key:
Create a key in your workspace settings. Keep it in your backend environment. Public discovery and health endpoints identify when a key is not required. Permissions and billing apply to the workspace associated with the key.

Tools

Tool inputs and provider results vary by action. The describe response contains that action’s schemas; the execution endpoint documents the shared envelope.

Plays and runs

Read the public run ID from run.id. URL-encode it before putting it in a path. The default status response uses run.status; dataset rows have separate paginated reads. See Run Plays and view results for a complete SDK or CLI flow.

Billing

Billing responses show Deepline credits and Deepline USD. Pending or unavailable amounts do not establish a final charge. Rate cards list action prices.

Errors and retries

Each endpoint lists its possible errors. The response’s error can be a message or an object with a code and message. Preserve the original run ID or execution key when a submission outcome is uncertain. Retrying with a new identity can start new paid work. See tool execution recovery. For Python, see Call Plays from Python or HTTP. The TypeScript SDK reference covers SDK methods.