curl --request POST \
--url https://api.mentionlab.io/api/cached-jobs/list \
--header 'Content-Type: application/json' \
--header 'x-organisation-id: <x-organisation-id>' \
--header 'x-project-id: <x-project-id>' \
--data '
{
"queryId": "<string>",
"query": "<string>",
"aiModels": [
"<string>"
],
"status": [
"<string>"
],
"tagNames": [
"<string>"
],
"tagIds": [
"<string>"
],
"sort": [
"<string>"
]
}
'{
"page": {
"totalRecords": 123,
"limit": 123,
"currentPage": 123,
"totalPages": 123,
"nextPage": 123,
"prevPage": 123
},
"results": [
{
"id": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
"project": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
"query_id": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
"query": "mentionlab",
"aiModels": [
"gpt-4",
"claude-2"
],
"executionCount": 5,
"language": "en",
"country": "US",
"status": "active",
"updatedAt": "2023-08-22T10:00:00.000Z",
"createdAt": "2023-08-22T10:00:00.000Z",
"restricted": false
}
]
}curl --request POST \
--url https://api.mentionlab.io/api/cached-jobs/list \
--header 'Content-Type: application/json' \
--header 'x-organisation-id: <x-organisation-id>' \
--header 'x-project-id: <x-project-id>' \
--data '
{
"queryId": "<string>",
"query": "<string>",
"aiModels": [
"<string>"
],
"status": [
"<string>"
],
"tagNames": [
"<string>"
],
"tagIds": [
"<string>"
],
"sort": [
"<string>"
]
}
'{
"page": {
"totalRecords": 123,
"limit": 123,
"currentPage": 123,
"totalPages": 123,
"nextPage": 123,
"prevPage": 123
},
"results": [
{
"id": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
"project": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
"query_id": "a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6",
"query": "mentionlab",
"aiModels": [
"gpt-4",
"claude-2"
],
"executionCount": 5,
"language": "en",
"country": "US",
"status": "active",
"updatedAt": "2023-08-22T10:00:00.000Z",
"createdAt": "2023-08-22T10:00:00.000Z",
"restricted": false
}
]
}Organisation ID to specify the organisation context
Project ID to specify the project context
Show child attributes
"a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6"
The project this cached job belongs to
"a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6"
The query this cached job belongs to
"a1b2c3d4-e5f6-g7h8-i9j0-k1l2m3n4o5p6"
"mentionlab"
["gpt-4", "claude-2"]5
"en"
"US"
pending, active, ended, inactive "active"
"2023-08-22T10:00:00.000Z"
"2023-08-22T10:00:00.000Z"
false