curl --request POST \
--url https://api.mentionlab.io/api/jobs/list \
--header 'Content-Type: application/json' \
--header 'x-project-id: <x-project-id>' \
--data '
{
"status": "pending",
"createdBy": "<string>",
"sort": [
{
"field": "<string>",
"direction": "ASC"
}
]
}
'{
"page": {
"totalRecords": 123,
"limit": 123,
"currentPage": 123,
"totalPages": 123,
"nextPage": 123,
"prevPage": 123
},
"results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project": {},
"totalExecutions": 123,
"pendingExecutions": 123,
"retryingExecutions": 123,
"successExecutions": 123,
"failedExecutions": 123,
"status": "pending",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdBy": {
"id": {},
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>"
}
}
]
}curl --request POST \
--url https://api.mentionlab.io/api/jobs/list \
--header 'Content-Type: application/json' \
--header 'x-project-id: <x-project-id>' \
--data '
{
"status": "pending",
"createdBy": "<string>",
"sort": [
{
"field": "<string>",
"direction": "ASC"
}
]
}
'{
"page": {
"totalRecords": 123,
"limit": 123,
"currentPage": 123,
"totalPages": 123,
"nextPage": 123,
"prevPage": 123
},
"results": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"project": {},
"totalExecutions": 123,
"pendingExecutions": 123,
"retryingExecutions": 123,
"successExecutions": 123,
"failedExecutions": 123,
"status": "pending",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"createdBy": {
"id": {},
"firstName": "<string>",
"lastName": "<string>",
"email": "<string>"
}
}
]
}Project ID to specify the project context