Skip to content
roasOS API
Esc
navigateopen⌘Jpreview

Get a Research job

GET/v1/research/jobs/{id}
Path parameters
idstring<uuid>required
Responses
200Safe Research lifecycle projection
dataobjectrequired
Show properties
Any of:
object
schema_versionstringrequired
Allowed:research-job@1
kindstringrequired
Allowed:research_job
idstring<uuid>required
capability_idstringrequired
Allowed:research.facebook-company-ads@1
maximum_creditsintegerrequired
min 0 · max 1000000000
created_atstring<date-time>required
updated_atstring<date-time>required
statusstringrequired
Allowed:quoted
cache_dispositionstringrequired
Allowed:live_fetch
reserved_creditsnumberrequired
Allowed:0
quote_idstring<uuid>required
expires_atstring<date-time>required
object
schema_versionstringrequired
Allowed:research-job@1
kindstringrequired
Allowed:research_job
idstring<uuid>required
capability_idstringrequired
Allowed:research.facebook-company-ads@1
maximum_creditsintegerrequired
min 0 · max 1000000000
created_atstring<date-time>required
updated_atstring<date-time>required
statusstringrequired
Allowed:waiting_cache
cache_dispositionstringrequired
Allowed:cache_join
reserved_creditsnumberrequired
Allowed:0
object
schema_versionstringrequired
Allowed:research-job@1
kindstringrequired
Allowed:research_job
idstring<uuid>required
capability_idstringrequired
Allowed:research.facebook-company-ads@1
maximum_creditsintegerrequired
min 0 · max 1000000000
created_atstring<date-time>required
updated_atstring<date-time>required
statusstringrequired
Allowed:queued
cache_dispositionstringrequired
Allowed:live_fetch
reserved_creditsintegerrequired
min 0 · max 1000000000
object
schema_versionstringrequired
Allowed:research-job@1
kindstringrequired
Allowed:research_job
idstring<uuid>required
capability_idstringrequired
Allowed:research.facebook-company-ads@1
maximum_creditsintegerrequired
min 0 · max 1000000000
created_atstring<date-time>required
updated_atstring<date-time>required
statusstringrequired
Allowed:processing
cache_dispositionstringrequired
Allowed:live_fetch
reserved_creditsintegerrequired
min 0 · max 1000000000
started_atstring<date-time>required
object
schema_versionstringrequired
Allowed:research-job@1
kindstringrequired
Allowed:research_job
idstring<uuid>required
capability_idstringrequired
Allowed:research.facebook-company-ads@1
maximum_creditsintegerrequired
min 0 · max 1000000000
created_atstring<date-time>required
updated_atstring<date-time>required
statusstringrequired
Allowed:succeeded
cache_dispositionstringrequired
Allowed:cache_hitcache_joinlive_fetchcache_stale
reserved_creditsintegerrequired
min 0 · max 1000000000
settled_creditsintegerrequired
min 0 · max 1000000000
completed_atstring<date-time>required
result_readybooleanrequired
Allowed:true
object
schema_versionstringrequired
Allowed:research-job@1
kindstringrequired
Allowed:research_job
idstring<uuid>required
capability_idstringrequired
Allowed:research.facebook-company-ads@1
maximum_creditsintegerrequired
min 0 · max 1000000000
created_atstring<date-time>required
updated_atstring<date-time>required
statusstringrequired
Allowed:failed
cache_dispositionstringrequired
Allowed:cache_joinlive_fetch
reserved_creditsintegerrequired
min 0 · max 1000000000
settled_creditsnumberrequired
Allowed:0
completed_atstring<date-time>required
errorobjectrequired
Show properties
codestringrequired
Allowed:research_failednormalization_failed
messagestringrequired
Allowed:Research request failedResearch result could not be normalized
object
schema_versionstringrequired
Allowed:research-job@1
kindstringrequired
Allowed:research_job
idstring<uuid>required
capability_idstringrequired
Allowed:research.facebook-company-ads@1
maximum_creditsintegerrequired
min 0 · max 1000000000
created_atstring<date-time>required
updated_atstring<date-time>required
statusstringrequired
Allowed:unknown
cache_dispositionstringrequired
Allowed:cache_joinlive_fetch
reserved_creditsintegerrequired
min 0 · max 1000000000
reconciliation_requiredbooleanrequired
Allowed:true
404Job absent or outside the exact API-key workspace boundary
errorobjectrequired
Show properties
codestringrequired
min length 1 · max length 128
messagestringrequired
min length 1 · max length 2000
retryablebooleanrequired
request_idstring<uuid>required
balanceinteger
min 0
requiredinteger
min 0
fieldstring
min length 1 · max length 512
statestring
min length 1 · max length 128
retryWithNewKeyboolean
parameterstring
min length 1 · max length 128
allowedstring[]
max items 100
503Research authority or projection unavailable
errorobjectrequired
Show properties
codestringrequired
min length 1 · max length 128
messagestringrequired
min length 1 · max length 2000
retryablebooleanrequired
request_idstring<uuid>required
balanceinteger
min 0
requiredinteger
min 0
fieldstring
min length 1 · max length 512
statestring
min length 1 · max length 128
retryWithNewKeyboolean
parameterstring
min length 1 · max length 128
allowedstring[]
max items 100
Request
curl -X GET "https://api.roasos.com/v1/research/jobs/%3Cuuid%3E"
Response
{
  "data": {
    "schema_version": "research-job@1",
    "kind": "research_job",
    "id": "<uuid>",
    "capability_id": "research.facebook-company-ads@1",
    "maximum_credits": 0,
    "created_at": "2024-01-01T00:00:00Z",
    "updated_at": "2024-01-01T00:00:00Z",
    "status": "quoted",
    "cache_disposition": "live_fetch",
    "reserved_credits": 0,
    "quote_id": "<uuid>",
    "expires_at": "2024-01-01T00:00:00Z"
  }
}