Skip to main content
GET
Get AI assistant conversation history

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Query Parameters

deal_type
enum<string>

Deal kind. Defaults to job when only job_id is supplied.

Available options:
job,
fan_req
Example:

"job"

job_id
integer

Partner job id when deal_type=job; fan_request_service.id when deal_type=fan_req. Omit with deal_type to return the unified thread.

Required range: x >= 1
Example:

42

sort
enum<string>
default:-created_at

Sort by creation time. -created_at returns newest first; +created_at returns oldest first.

Available options:
-created_at,
+created_at
Example:

"-created_at"

page
integer

Page number (default 1).

Example:

1

limit
integer

Items per page (default 10).

Example:

10

page_limit
integer

Alternative to limit. Takes precedence over limit if both are provided.

Example:

10

Response

Paginated conversation history.

data
object[]
meta
object