API

Base URL: https://api.slingdata.io

Authentication & Headers

All API requests require authentication using a Sling Project Token in the header:

Authorization: Sling-Project-Token xxxxxxxxxxxx
Content-Type: application/json

Project tokens can be created and managed through the Sling Data Platform, in the Settings > API Tokens section. Each token is associated with a specific project.

Connections

List Connections

GET /connection/list

Returns a list of all connections configured for the project.

Response

{
  "connections": [
    {
      "name": "string",
      "type": "string"
    }
  ]
}

Test Connection

Tests if a connection is valid and accessible.

Request Body

Response

Files

Get File

Retrieves contents of a specific project file.

Query Parameters

  • name: File path relative to project root

Response

List Files

Lists all files in the project.

Response

Jobs

List Jobs

Lists all jobs in the project.

Request Body

Response

Get Job

Gets details of a specific job.

Query Parameters

  • job_id: ID of the job

Response

Run Job

Triggers execution of a job.

Request Body

Response

Executions

Cancel Execution

Cancels a running job run / execution.

Request Body

List Executions

Returns a list of recent job runs / executions.

Query Parameters

  • status (optional): Filter by execution status: running | success | error | warning | skipped

  • limit (optional): Number of records to return (max 100)

Response

Last updated

Was this helpful?