Skip to content
Start here

Jobs

List Jobs
client.aiSearch.instances.jobs.list(stringid, JobListParams { account_id, page, per_page } params, RequestOptionsoptions?): V4PagePaginationArray<JobListResponse { id, source, description, 4 more } >
GET/accounts/{account_id}/ai-search/instances/{id}/jobs
Create new job
client.aiSearch.instances.jobs.create(stringid, JobCreateParams { account_id, description } params, RequestOptionsoptions?): JobCreateResponse { id, source, description, 4 more }
POST/accounts/{account_id}/ai-search/instances/{id}/jobs
Get a Job Details
client.aiSearch.instances.jobs.get(stringid, stringjobId, JobGetParams { account_id } params, RequestOptionsoptions?): JobGetResponse { id, source, description, 4 more }
GET/accounts/{account_id}/ai-search/instances/{id}/jobs/{job_id}
List Job Logs
client.aiSearch.instances.jobs.logs(stringid, stringjobId, JobLogsParams { account_id, page, per_page } params, RequestOptionsoptions?): JobLogsResponse { id, created_at, message, message_type }
GET/accounts/{account_id}/ai-search/instances/{id}/jobs/{job_id}/logs
ModelsExpand Collapse
JobListResponse { id, source, description, 4 more }
id: string
source: "user" | "schedule"
One of the following:
"user"
"schedule"
description?: string
end_reason?: string
ended_at?: string
last_seen_at?: string
started_at?: string
JobCreateResponse { id, source, description, 4 more }
id: string
source: "user" | "schedule"
One of the following:
"user"
"schedule"
description?: string
end_reason?: string
ended_at?: string
last_seen_at?: string
started_at?: string
JobGetResponse { id, source, description, 4 more }
id: string
source: "user" | "schedule"
One of the following:
"user"
"schedule"
description?: string
end_reason?: string
ended_at?: string
last_seen_at?: string
started_at?: string
JobLogsResponse = Array<JobLogsResponseItem>
id: number
created_at: number
message: string
message_type: number