Skip to main content
 print this page

List sync job runs for a knowledge base

GET 

/ai/knowledgebases/:id/runs

Returns a paginated list of JobRun items for the knowledge base. Default offset is 1 (1-based), limit 100 (max 1000), sortby StartTime, sortorder desc. RUNNING runs with an ExecutionArn are checked against Step Functions and marked FAILED if the execution failed, timed out, or was aborted. KnowledgebaseId and SortKey are stripped from each item. The knowledge base must exist. No request body.

Request

Responses

Paginated jobruns plus next_available, count, and total_count. Stop when next_available is "no".

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers