API ReferenceOntologyontology
List ontology workflows
GET /api/workspaces/{workspaceId}/ontology/workflows
Endpoint
GET
/api/workspaces/{workspaceId}/ontology/workflowsDiscover deployed workflows and their scheduled triggers before selecting a workflow. This is a repeatable read. See ontology_getWorkflowStructure. Required personal key scopes: workspace:view, ontology:read.
Authorization
Bearer token · workspace:view · ontology:read
Parameters
workspaceIdpath · uuid · required- Workspace UUID returned by list workspaces.
API-Versionheader · string · optional- Optional platform API major version. Omit to use the current default. Allowed values: 1
Responses
200 Success
application/json schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"allOf": [
{
"description": "Name identifying this item within its parent resource."
}
]
},
"description": {
"type": "string",
"description": "Human-readable explanation of the item."
},
"role": {
"type": "string",
"description": "Role assigned to the subject."
},
"input": {
"type": "object",
"allOf": [
{
"description": "Input passed to the workflow or transformation."
}
]
},
"connections": {
"type": "array",
"items": {
"type": "string"
},
"description": "External connections associated with the workspace configuration."
},
"triggers": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"cron"
],
"description": "Discriminator identifying the kind of entry."
},
"name": {
"type": "string",
"allOf": [
{
"description": "Name identifying this item within its parent resource."
}
]
},
"description": {
"type": "string",
"description": "Human-readable explanation of the item."
},
"cron": {
"type": "string",
"description": "Cron expression or trigger definition governing execution."
},
"input": {
"description": "Input passed to the workflow or transformation."
},
"path": {
"type": "string",
"description": "Path relative to the root of the source tree."
},
"nextAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Time of the next scheduled occurrence."
}
},
"required": [
"kind",
"name",
"description",
"cron",
"input",
"path",
"nextAt"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"action"
],
"description": "Discriminator identifying the kind of entry."
},
"name": {
"type": "string",
"allOf": [
{
"description": "Name identifying this item within its parent resource."
}
]
},
"description": {
"type": "string",
"description": "Human-readable explanation of the item."
},
"entity": {
"type": "string",
"allOf": [
{
"description": "Entity addressed by this request or described in the result."
}
]
},
"action": {
"type": "string",
"description": "Action requested or recorded for the target."
}
},
"required": [
"kind",
"name",
"description",
"entity"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"webhook"
],
"description": "Discriminator identifying the kind of entry."
},
"name": {
"type": "string",
"allOf": [
{
"description": "Name identifying this item within its parent resource."
}
]
},
"description": {
"type": "string",
"description": "Human-readable explanation of the item."
},
"path": {
"type": "string",
"description": "Path relative to the root of the source tree."
},
"signature": {
"anyOf": [
{
"type": "object",
"properties": {
"scheme": {
"type": "string",
"description": "Authentication scheme expected by the endpoint."
},
"secret": {
"type": "string",
"description": "Secret reference used by the configuration."
},
"generated": {
"type": "boolean",
"enum": [
true
],
"description": "Whether the entry was generated by the platform."
}
},
"required": [
"scheme",
"secret"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Signature used to recognize this event or schema."
},
"headers": {
"type": "array",
"items": {
"type": "string"
},
"description": "HTTP headers associated with the request."
},
"connection": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The key of the connection whose provider sends to the webhook; absent from older services."
}
},
"required": [
"kind",
"name",
"description",
"path",
"signature",
"headers"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"platform"
],
"description": "Discriminator identifying the kind of entry."
},
"name": {
"type": "string",
"allOf": [
{
"description": "Name identifying this item within its parent resource."
}
]
},
"description": {
"type": "string",
"description": "Human-readable explanation of the item."
},
"events": {
"type": "array",
"items": {
"type": "string"
},
"description": "The platform event types that start the workflow, such as deployment.failed."
}
},
"required": [
"kind",
"name",
"description",
"events"
],
"additionalProperties": false
}
]
},
"description": "Conditions that can start the deployed workflow."
},
"action": {
"type": "object",
"properties": {
"entity": {
"type": "string",
"allOf": [
{
"description": "Entity addressed by this request or described in the result."
}
]
},
"action": {
"type": "string",
"description": "Action requested or recorded for the target."
}
},
"required": [
"entity",
"action"
],
"additionalProperties": false,
"description": "The action a trigger listed in `defineOntology({ triggers })` runs, in wire names: the workflow is that trigger. Absent for a workflow of its own."
}
},
"required": [
"name",
"description",
"role",
"input",
"connections",
"triggers"
],
"additionalProperties": false
},
"description": "Entries included in this result."
},
"cronEntries": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Path relative to the root of the source tree."
},
"schedule": {
"type": "string",
"description": "Configuration and state of the selected schedule."
}
},
"required": [
"path",
"schedule"
],
"additionalProperties": false
}
},
{
"type": "null"
}
],
"description": "Absent or null for older deployments; an empty array means no entries were written."
}
},
"required": [
"items"
],
"additionalProperties": false
}Full schema and referenced types ↗Example
{
"items": []
}Response headers
- API-Version
- Supported platform API major version.
- RateLimit
- Remaining quota (r) and seconds until reset (t), when admission is available.
- RateLimit-Policy
- Request quota (q) and window in seconds (w).
- Deprecation
- Present when the operation is deprecated. RFC 9745 date in seconds since the Unix epoch.
- Sunset
- Present when retirement is scheduled. HTTP date of planned removal, per RFC 8594.
400 Error
application/json schema
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Machine-readable error code or diagnostic reported by the operation."
},
"detail": {
"type": "string",
"description": "Human-readable explanation of the failure."
},
"requestId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid",
"description": "Correlation ID for tracing the request with support."
},
"retryable": {
"type": "boolean",
"description": "Whether retrying the same failed request may succeed."
}
},
"required": [
"error",
"detail",
"requestId",
"retryable"
],
"additionalProperties": true
}Full schema and referenced types ↗Response headers
- API-Version
- Supported platform API major version.
- RateLimit
- Remaining quota (r) and seconds until reset (t), when admission is available.
- RateLimit-Policy
- Request quota (q) and window in seconds (w).
401 Error
application/json schema
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Machine-readable error code or diagnostic reported by the operation."
},
"detail": {
"type": "string",
"description": "Human-readable explanation of the failure."
},
"requestId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid",
"description": "Correlation ID for tracing the request with support."
},
"retryable": {
"type": "boolean",
"description": "Whether retrying the same failed request may succeed."
}
},
"required": [
"error",
"detail",
"requestId",
"retryable"
],
"additionalProperties": true
}Full schema and referenced types ↗Response headers
- API-Version
- Supported platform API major version.
- RateLimit
- Remaining quota (r) and seconds until reset (t), when admission is available.
- RateLimit-Policy
- Request quota (q) and window in seconds (w).
403 Error
application/json schema
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Machine-readable error code or diagnostic reported by the operation."
},
"detail": {
"type": "string",
"description": "Human-readable explanation of the failure."
},
"requestId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid",
"description": "Correlation ID for tracing the request with support."
},
"retryable": {
"type": "boolean",
"description": "Whether retrying the same failed request may succeed."
}
},
"required": [
"error",
"detail",
"requestId",
"retryable"
],
"additionalProperties": true
}Full schema and referenced types ↗Response headers
- API-Version
- Supported platform API major version.
- RateLimit
- Remaining quota (r) and seconds until reset (t), when admission is available.
- RateLimit-Policy
- Request quota (q) and window in seconds (w).
404 Error
application/json schema
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Machine-readable error code or diagnostic reported by the operation."
},
"detail": {
"type": "string",
"description": "Human-readable explanation of the failure."
},
"requestId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid",
"description": "Correlation ID for tracing the request with support."
},
"retryable": {
"type": "boolean",
"description": "Whether retrying the same failed request may succeed."
}
},
"required": [
"error",
"detail",
"requestId",
"retryable"
],
"additionalProperties": true
}Full schema and referenced types ↗Response headers
- API-Version
- Supported platform API major version.
- RateLimit
- Remaining quota (r) and seconds until reset (t), when admission is available.
- RateLimit-Policy
- Request quota (q) and window in seconds (w).
406 Unsupported platform API version
application/json schema
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Machine-readable error code or diagnostic reported by the operation."
},
"detail": {
"type": "string",
"description": "Human-readable explanation of the failure."
},
"requestId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid",
"description": "Correlation ID for tracing the request with support."
},
"retryable": {
"type": "boolean",
"description": "Whether retrying the same failed request may succeed."
}
},
"required": [
"error",
"detail",
"requestId",
"retryable"
],
"additionalProperties": true
}Full schema and referenced types ↗Response headers
- API-Version
- Supported platform API major version.
- RateLimit
- Remaining quota (r) and seconds until reset (t), when admission is available.
- RateLimit-Policy
- Request quota (q) and window in seconds (w).
409 Error
application/json schema
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Machine-readable error code or diagnostic reported by the operation."
},
"detail": {
"type": "string",
"description": "Human-readable explanation of the failure."
},
"requestId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid",
"description": "Correlation ID for tracing the request with support."
},
"retryable": {
"type": "boolean",
"description": "Whether retrying the same failed request may succeed."
}
},
"required": [
"error",
"detail",
"requestId",
"retryable"
],
"additionalProperties": true
}Full schema and referenced types ↗Response headers
- API-Version
- Supported platform API major version.
- RateLimit
- Remaining quota (r) and seconds until reset (t), when admission is available.
- RateLimit-Policy
- Request quota (q) and window in seconds (w).
429 Request limit reached
application/json schema
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Machine-readable error code or diagnostic reported by the operation."
},
"detail": {
"type": "string",
"description": "Human-readable explanation of the failure."
},
"requestId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid",
"description": "Correlation ID for tracing the request with support."
},
"retryable": {
"type": "boolean",
"description": "Whether retrying the same failed request may succeed."
}
},
"required": [
"error",
"detail",
"requestId",
"retryable"
],
"additionalProperties": true
}Full schema and referenced types ↗Response headers
- Retry-After
- Seconds to wait before retrying the request.
- API-Version
- Supported platform API major version.
- RateLimit
- Remaining quota (r) and seconds until reset (t), when admission is available.
- RateLimit-Policy
- Request quota (q) and window in seconds (w).
500 Error
application/json schema
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Machine-readable error code or diagnostic reported by the operation."
},
"detail": {
"type": "string",
"description": "Human-readable explanation of the failure."
},
"requestId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid",
"description": "Correlation ID for tracing the request with support."
},
"retryable": {
"type": "boolean",
"description": "Whether retrying the same failed request may succeed."
}
},
"required": [
"error",
"detail",
"requestId",
"retryable"
],
"additionalProperties": true
}Full schema and referenced types ↗Response headers
- API-Version
- Supported platform API major version.
- RateLimit
- Remaining quota (r) and seconds until reset (t), when admission is available.
- RateLimit-Policy
- Request quota (q) and window in seconds (w).
503 Error
application/json schema
{
"type": "object",
"properties": {
"error": {
"type": "string",
"description": "Machine-readable error code or diagnostic reported by the operation."
},
"detail": {
"type": "string",
"description": "Human-readable explanation of the failure."
},
"requestId": {
"type": "string",
"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|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
"format": "uuid",
"description": "Correlation ID for tracing the request with support."
},
"retryable": {
"type": "boolean",
"description": "Whether retrying the same failed request may succeed."
}
},
"required": [
"error",
"detail",
"requestId",
"retryable"
],
"additionalProperties": true
}Full schema and referenced types ↗Response headers
- API-Version
- Supported platform API major version.
- RateLimit
- Remaining quota (r) and seconds until reset (t), when admission is available.
- RateLimit-Policy
- Request quota (q) and window in seconds (w).