Skip to main content
POST
/
v1
/
answers
Create Answer
curl --request POST \
  --url https://api.olostep.com/v1/answers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "task": "<string>",
  "json_format": {}
}'
{
  "id": "<string>",
  "object": "<string>",
  "created": 123,
  "metadata": {},
  "task": "<string>",
  "result": {
    "json_content": "<string>",
    "json_hosted_url": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
task
string
required

The task to be performed.

json_format
object

The desired output JSON object with empty values as a schema, or simply describe the data you want as a string.

Response

Successful response with the answer.

id
string
object
string
created
integer
metadata
object
task
string
result
object
I