Qyra
ReferenceProjects

List external connections as code

Get data-app external connections in code representation. Enterprise only; requires the manage ExternalConnection permission. Secrets are never included.

GET/api/v1/projects/{projectUuid}/code/externalConnections

Authentication: personal access token. The spec defines an api_key security scheme — send an Authorization: ApiKey <your-personal-access-token> header (value format: ApiKey <your key>). A session_cookie scheme (connect.sid) exists for browser sessions. Operations in this spec declare security: [], an artifact of the upstream spec generator — authentication is still enforced by the server.

Path parameters

NameTypeRequiredDescription
projectUuidstringYes

Query parameters

NameTypeRequiredDescription
slugsarray[string]No
offsetnumberNo

Responses

200 — Success

{
  "results": {
    "offset": 0,
    "total": 0,
    "missingSlugs": [
      "string"
    ],
    "externalConnections": [
      {
        "customHeaders": {},
        "oauthClientAuthMethod": {},
        "oauthClientId": "string",
        "oauthTokenUrl": "string",
        "oauthScopes": [
          "string"
        ],
        "apiKeyLocation": {},
        "apiKeyName": "string",
        "rateLimitPerMinute": 0,
        "timeoutMs": 0,
        "requestMaxBytes": 0,
        "responseMaxBytes": 0,
        "allowedContentTypes": [
          "string"
        ],
        "allowedMethods": [
          "GET"
        ],
        "allowedPathPrefixes": [
          "string"
        ],
        "instructions": "string",
        "allowDataAppBuilderLinking": true,
        "allowBrowserImages": true,
        "origin": "string",
        "authType": "none",
        "name": "string",
        "slug": "string",
        "version": 0,
        "contentType": "external_connection"
      }
    ]
  },
  "status": "ok"
}

default — Error

{
  "error": {
    "data": "string",
    "message": "string",
    "name": "string",
    "statusCode": 0
  },
  "status": "error"
}