Skip to main content
GET
/
api
/
workspaces
/
{id}
/
questions
List Questions
curl --request GET \
  --url http://localhost:8080/api/workspaces/{id}/questions \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "workspace_id": "<string>",
    "task_id": "<string>",
    "task_title": "<string>",
    "content": "<string>",
    "context": "<string>",
    "options": [
      "<string>"
    ],
    "answer": "<string>",
    "status": "<string>",
    "priority": 123,
    "created_at": "<string>",
    "answered_at": "<string>"
  }
]

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Query Parameters

status
string | null
task_id
string | null

Response

Successful Response

id
string
required
workspace_id
string
required
task_id
string
required
task_title
string | null
required
content
string
required
context
string | null
required
options
string[] | null
required
Maximum array length: 4
answer
string | null
required
status
string
required
priority
integer
required
created_at
string
required
answered_at
string | null
required