GET
/
sources
/
{source_id}
curl --request GET \
  --url https://app.getcensus.com/api/v1/sources/{source_id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "created",
  "data": {
    "id": 4,
    "name": "Snowflake - xxxxxxx.us-east-1",
    "label": "Acme Inc. Snowflake",
    "type": "snowflake",
    "created_at": "2023-07-22T23:42:47.239Z",
    "last_test_results": {
      "steps": [
        {
          "step": "Verify connectivity",
          "error": {
            "message": "<string>"
          },
          "status": "success"
        }
      ]
    },
    "last_test_succeeded": true,
    "last_tested_at": "2023-11-07T05:31:56Z",
    "connection_details": {
      "account": "xxxxxxx.us-east-1,",
      "user": "DEV,",
      "warehouse": "TEST,",
      "use_keypair": false
    }
  }
}

Authorizations

Authorization
string
headerrequired

Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.

Path Parameters

source_id
integer
required

ID of the source to retrieve

Response

200 - application/json
status
enum<string>

Outcome of the operation.

Available options:
success,
updated,
created,
not_found,
error
data
object