Skip to Content
Runbase
Reference

REST API

Every endpoint of the /api/v1 REST API, generated from the OpenAPI spec.

REST API v1. Authenticate with an API key: Authorization: Bearer agk_…. Lists use keyset pagination: pass next as after. Errors are \{ code, message, params \}.

The machine-readable spec is served at /api/v1/openapi.json. Authenticate with Authorization: Bearer <API key>.

catalog

List the connectors of the catalog

GET /api/catalog/connectors

Parameters

NameTypeRequiredDescription
categorystringnoquery.

Responses

  • 200: Success
  • 400: Invalid request or path parameter
  • 429: Rate limit exceeded (see Retry-After)

Get a connector and the templates that use it

GET /api/catalog/connectors/{slug}

Parameters

NameTypeRequiredDescription
slugstringyespath.

Responses

  • 200: Success
  • 400: Invalid request or path parameter
  • 404: Not found
  • 429: Rate limit exceeded (see Retry-After)

Get a creator profile and their templates

GET /api/catalog/creators/{username}

Parameters

NameTypeRequiredDescription
usernamestringyespath.

Responses

  • 200: Success
  • 400: Invalid request or path parameter
  • 404: Not found
  • 429: Rate limit exceeded (see Retry-After)

Search the public template catalog (keyset pagination)

GET /api/catalog/templates

Parameters

NameTypeRequiredDescription
qstringnoquery.
categorystringnoquery.
connectorstringnoquery.
limitintegernoquery.
afterstringnoquery.

Responses

  • 200: Success
  • 400: Invalid request or path parameter
  • 429: Rate limit exceeded (see Retry-After)

Get a catalog template by id or slug

GET /api/catalog/templates/{id}

Parameters

NameTypeRequiredDescription
idstringyespath.

Responses

  • 200: Success
  • 400: Invalid request or path parameter
  • 404: Not found
  • 429: Rate limit exceeded (see Retry-After)

events

List events, most recent first (keyset pagination)

GET /api/v1/events

Parameters

NameTypeRequiredDescription
limitintegernoquery.
afterstringnoquery.
typestringnoquery.
recordIdstringnoquery.

Responses

  • 200: Success
  • 400: Invalid request or path parameter
  • 401: Missing or invalid API key
  • 403: Scope or workspace not allowed
  • 429: Rate limit exceeded (see Retry-After)

Push an event (deduplicated by idempotencyKey)

POST /api/v1/events

Request body

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "minLength": 1
    },
    "recordId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "payload": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "occurredAt": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "idempotencyKey": {
      "type": "string",
      "minLength": 1
    },
    "test": {
      "type": "boolean"
    }
  },
  "required": ["type"]
}

Responses

  • 201: Success
  • 400: Invalid request or path parameter
  • 401: Missing or invalid API key
  • 403: Scope or workspace not allowed
  • 429: Rate limit exceeded (see Retry-After)

files

Upload a file (10 MB max)

POST /api/v1/files

Responses

  • 201: Success
  • 400: Invalid request or path parameter
  • 401: Missing or invalid API key
  • 403: Scope or workspace not allowed
  • 429: Rate limit exceeded (see Retry-After)

Download a file by its key

GET /api/v1/files/content

Parameters

NameTypeRequiredDescription
keystringyesquery.

Responses

  • 200: Success
  • 400: Invalid request or path parameter
  • 401: Missing or invalid API key
  • 403: Scope or workspace not allowed
  • 404: Not found
  • 429: Rate limit exceeded (see Retry-After)

objects

List the objects of the workspace

GET /api/v1/objects

Responses

  • 200: Success
  • 400: Invalid request or path parameter
  • 401: Missing or invalid API key
  • 403: Scope or workspace not allowed
  • 429: Rate limit exceeded (see Retry-After)

Get an object and its fields

GET /api/v1/objects/{object}

Parameters

NameTypeRequiredDescription
objectstringyespath.

Responses

  • 200: Success
  • 400: Invalid request or path parameter
  • 401: Missing or invalid API key
  • 403: Scope or workspace not allowed
  • 404: Not found
  • 429: Rate limit exceeded (see Retry-After)

records

List the records of an object (keyset pagination)

GET /api/v1/objects/{object}/records

Parameters

NameTypeRequiredDescription
objectstringyespath.
limitintegernoquery.
afterstringnoquery.
qstringnoquery.

Responses

  • 200: Success
  • 400: Invalid request or path parameter
  • 401: Missing or invalid API key
  • 403: Scope or workspace not allowed
  • 404: Not found
  • 429: Rate limit exceeded (see Retry-After)

Create or update a record (upsert on externalId or a unique field)

POST /api/v1/objects/{object}/records

Parameters

NameTypeRequiredDescription
objectstringyespath.

Request body

{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "externalId": {
      "type": "string",
      "minLength": 1
    },
    "match": {
      "type": "string"
    },
    "mode": {
      "type": "string",
      "enum": ["merge", "replace"]
    },
    "test": {
      "type": "boolean"
    }
  },
  "required": ["data"]
}

Responses

  • 201: Success
  • 400: Invalid request or path parameter
  • 401: Missing or invalid API key
  • 403: Scope or workspace not allowed
  • 404: Not found
  • 429: Rate limit exceeded (see Retry-After)

Move a record to the trash

DELETE /api/v1/records/{id}

Parameters

NameTypeRequiredDescription
idstringyespath.

Responses

  • 204: No content
  • 400: Invalid request or path parameter
  • 401: Missing or invalid API key
  • 403: Scope or workspace not allowed
  • 404: Not found
  • 429: Rate limit exceeded (see Retry-After)

Get a record with its resolved references

GET /api/v1/records/{id}

Parameters

NameTypeRequiredDescription
idstringyespath.

Responses

  • 200: Success
  • 400: Invalid request or path parameter
  • 401: Missing or invalid API key
  • 403: Scope or workspace not allowed
  • 404: Not found
  • 429: Rate limit exceeded (see Retry-After)

Update a record (merge by default)

PATCH /api/v1/records/{id}

Parameters

NameTypeRequiredDescription
idstringyespath.

Request body

{
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "mode": {
      "type": "string",
      "enum": ["merge", "replace"]
    }
  },
  "required": ["data"]
}

Responses

  • 200: Success
  • 400: Invalid request or path parameter
  • 401: Missing or invalid API key
  • 403: Scope or workspace not allowed
  • 404: Not found
  • 429: Rate limit exceeded (see Retry-After)

runs

List workflow runs, most recent first (keyset pagination)

GET /api/v1/runs

Parameters

NameTypeRequiredDescription
limitintegernoquery.
afterstringnoquery.
workflowIdstringnoquery.
recordIdstringnoquery.
statusstringnoquery. One of: running, waiting, succeeded, failed, paused_budget, paused, canceled.

Responses

  • 200: Success
  • 400: Invalid request or path parameter
  • 401: Missing or invalid API key
  • 403: Scope or workspace not allowed
  • 429: Rate limit exceeded (see Retry-After)

Start a workflow run

POST /api/v1/runs

Request body

{
  "type": "object",
  "properties": {
    "workflowId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "recordId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "event": {},
    "idempotencyKey": {
      "type": "string",
      "minLength": 1
    },
    "test": {
      "type": "boolean"
    }
  },
  "required": ["workflowId"]
}

Responses

  • 201: Success
  • 400: Invalid request or path parameter
  • 401: Missing or invalid API key
  • 403: Scope or workspace not allowed
  • 429: Rate limit exceeded (see Retry-After)

Get a run with its steps

GET /api/v1/runs/{id}

Parameters

NameTypeRequiredDescription
idstringyespath.

Responses

  • 200: Success
  • 400: Invalid request or path parameter
  • 401: Missing or invalid API key
  • 403: Scope or workspace not allowed
  • 404: Not found
  • 429: Rate limit exceeded (see Retry-After)

Schemas

{
  "Error": {
    "type": "object",
    "properties": {
      "code": {
        "type": "string"
      },
      "message": {
        "type": "string"
      },
      "params": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {
          "type": ["string", "number"]
        }
      }
    },
    "required": ["code", "message", "params"],
    "additionalProperties": false
  },
  "Object": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "format": "uuid",
        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
      },
      "databaseId": {
        "type": "string",
        "format": "uuid",
        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
      },
      "slug": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "icon": {
        "type": ["string", "null"]
      },
      "fields": {
        "type": "array",
        "items": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {}
        }
      },
      "createdAt": {
        "type": "string",
        "format": "date-time",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
      }
    },
    "required": [
      "id",
      "databaseId",
      "slug",
      "name",
      "icon",
      "fields",
      "createdAt",
      "updatedAt"
    ],
    "additionalProperties": {}
  },
  "Record": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "format": "uuid",
        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
      },
      "objectId": {
        "type": "string",
        "format": "uuid",
        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
      },
      "externalId": {
        "type": ["string", "null"]
      },
      "data": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      },
      "isTest": {
        "type": "boolean"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
      },
      "updatedAt": {
        "type": "string",
        "format": "date-time",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
      }
    },
    "required": [
      "id",
      "objectId",
      "externalId",
      "data",
      "isTest",
      "createdAt",
      "updatedAt"
    ],
    "additionalProperties": {}
  },
  "Run": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "format": "uuid",
        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
      },
      "workflowId": {
        "type": "string",
        "format": "uuid",
        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
      },
      "version": {
        "type": "integer",
        "minimum": -9007199254740991,
        "maximum": 9007199254740991
      },
      "recordId": {
        "anyOf": [
          {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          {
            "type": "null"
          }
        ]
      },
      "status": {
        "type": "string",
        "enum": [
          "running",
          "waiting",
          "succeeded",
          "failed",
          "paused_budget",
          "paused",
          "canceled"
        ]
      },
      "currentStep": {
        "type": ["string", "null"]
      },
      "error": {
        "type": ["string", "null"]
      },
      "isTest": {
        "type": "boolean"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
      },
      "finishedAt": {
        "anyOf": [
          {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
          },
          {
            "type": "null"
          }
        ]
      }
    },
    "required": [
      "id",
      "workflowId",
      "version",
      "recordId",
      "status",
      "currentStep",
      "error",
      "isTest",
      "createdAt",
      "finishedAt"
    ],
    "additionalProperties": {}
  },
  "Event": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string",
        "format": "uuid",
        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
      },
      "recordId": {
        "anyOf": [
          {
            "type": "string",
            "format": "uuid",
            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
          },
          {
            "type": "null"
          }
        ]
      },
      "type": {
        "type": "string"
      },
      "payload": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      },
      "occurredAt": {
        "type": "string",
        "format": "date-time",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
      },
      "source": {
        "type": ["string", "null"]
      },
      "idempotencyKey": {
        "type": ["string", "null"]
      },
      "isTest": {
        "type": "boolean"
      },
      "createdAt": {
        "type": "string",
        "format": "date-time",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
      }
    },
    "required": [
      "id",
      "recordId",
      "type",
      "payload",
      "occurredAt",
      "source",
      "idempotencyKey",
      "isTest",
      "createdAt"
    ],
    "additionalProperties": {}
  },
  "File": {
    "type": "object",
    "properties": {
      "key": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "size": {
        "type": "integer",
        "minimum": -9007199254740991,
        "maximum": 9007199254740991
      },
      "type": {
        "type": "string"
      }
    },
    "required": ["key", "name", "size", "type"],
    "additionalProperties": false
  },
  "CatalogTemplateSummary": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "slug": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "excerpt": {
        "type": "string"
      },
      "categories": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "connectors": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "authorId": {
        "type": "string"
      },
      "createdAt": {
        "type": "string",
        "format": "date",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      },
      "updatedAt": {
        "type": "string",
        "format": "date",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      }
    },
    "required": [
      "id",
      "slug",
      "name",
      "excerpt",
      "categories",
      "connectors",
      "authorId",
      "createdAt",
      "updatedAt"
    ],
    "additionalProperties": false
  },
  "CatalogTemplate": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "slug": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "categories": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "connectors": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "authorId": {
        "type": "string"
      },
      "createdAt": {
        "type": "string",
        "format": "date",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      },
      "updatedAt": {
        "type": "string",
        "format": "date",
        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
      },
      "description": {
        "type": "string"
      },
      "manifest": {
        "type": "object",
        "propertyNames": {
          "type": "string"
        },
        "additionalProperties": {}
      }
    },
    "required": [
      "id",
      "slug",
      "name",
      "categories",
      "connectors",
      "authorId",
      "createdAt",
      "updatedAt",
      "description",
      "manifest"
    ],
    "additionalProperties": false
  },
  "CatalogConnector": {
    "type": "object",
    "properties": {
      "slug": {
        "type": "string"
      },
      "displayName": {
        "type": "string"
      },
      "icon": {
        "type": "string"
      },
      "description": {
        "type": "string"
      },
      "categories": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "triggers": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "description": {
              "type": "string"
            }
          },
          "required": ["name", "description"],
          "additionalProperties": false
        }
      },
      "actions": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "description": {
              "type": "string"
            }
          },
          "required": ["name", "description"],
          "additionalProperties": false
        }
      },
      "docsUrl": {
        "type": "string"
      },
      "credentialType": {
        "type": "string",
        "enum": ["oauth2", "apiKey", "basic", "none"]
      }
    },
    "required": [
      "slug",
      "displayName",
      "icon",
      "description",
      "categories",
      "triggers",
      "actions",
      "docsUrl",
      "credentialType"
    ],
    "additionalProperties": false
  },
  "CatalogCreator": {
    "type": "object",
    "properties": {
      "username": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "bio": {
        "type": "string"
      },
      "avatar": {
        "type": "string"
      },
      "links": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "label": {
              "type": "string"
            },
            "url": {
              "type": "string"
            }
          },
          "required": ["label", "url"],
          "additionalProperties": false
        }
      },
      "templates": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/CatalogTemplateSummary"
        }
      }
    },
    "required": ["username", "name", "bio", "avatar", "links", "templates"],
    "additionalProperties": false
  }
}

On this page