Content
Get async post generation status
Changed onReturns the job and its event log. job.status moves from queued to running and ends as completed, failed, or skipped. job.postId is set once the post has been created; fetch it with GET /v1/posts/{postId}.
get/v1/posts/generate/{jobId}
Request
- Base URL: https://api.usenotra.com
- URL: https://api.usenotra.com/v1/posts/generate/{jobId}
- Auth: HTTP bearer
Path parameters
jobIdstring required
Job ID returned by POST /v1/posts/generate.
Example:job_5f0c3b2a9d4e4c1f8a7b6c5d4e3f2a1b
Response
Post generation status fetched successfully
Example response
{
"job": {
"errorCode": "NO_AVAILABLE_SOURCES"
}
}Changes
- info
added the optional property
/to the response with the status
- info