Get active auto-discovery invocations (in progress or pending review)
GET/v1/ai/entities-auto-discovery/active
This route returns auto-discovery invocations that are in progress (discovery running) or pending review (suggestions ready for review).
To learn more about the auto-discovery feature, see the documentation.
Request
Parameters (JSON)
{
"parameters": [
{
"schema": {
"default": 100,
"type": "integer",
"exclusiveMinimum": true,
"maximum": 100
},
"in": "query",
"name": "limit",
"required": false,
"description": "Maximum number of active invocations to return (default 100)."
}
]
}Request body schema (JSON)
{
"title": "Body"
}Responses
- 200
- 500
Default Response
Default Response
Responses (JSON)
{
"responses": {
"200": {
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"invocations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"invocationId": {
"type": "string",
"description": "The ID of the auto-discovery invocation."
},
"blueprintIdentifier": {
"type": "string",
"description": "The identifier of the blueprint for this auto-discovery invocation."
},
"createdBy": {
"description": "The user ID that created this auto-discovery invocation.",
"type": "string"
},
"status": {
"type": "string",
"enum": [
"in_progress",
"pending_review"
],
"description": "The status of the auto-discovery invocation."
},
"pendingReviewCount": {
"type": "number",
"description": "The number of suggestions waiting for review in this auto-discovery invocation."
},
"createdAt": {
"description": "The creation date of the invocation.",
"type": "string",
"format": "date-time"
},
"updatedAt": {
"description": "The last update date of the invocation.",
"type": "string",
"format": "date-time"
}
},
"required": [
"invocationId",
"blueprintIdentifier",
"status",
"pendingReviewCount",
"createdAt",
"updatedAt"
],
"additionalProperties": false
}
}
},
"required": [
"ok",
"invocations"
],
"additionalProperties": false
}
}
}
},
"500": {
"description": "Default Response",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"error": {
"type": "string"
},
"message": {
"type": "string"
},
"details": {
"type": "object",
"additionalProperties": {}
}
},
"required": [
"ok",
"error"
],
"additionalProperties": false
}
}
}
}
}
}