Skip to main content
GET
/
v1
/
jobs
/
{jobId}
/
question-sets
/
{questionSetId}
Get question set by ID
curl --request GET \
  --url https://embed.nova.dweet.com/v1/jobs/{jobId}/question-sets/{questionSetId} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Tenant-Id: <x-tenant-id>'
{
  "questionSet": {
    "id": "<string>",
    "jobId": "<string>",
    "questions": [
      {
        "id": "<string>",
        "question": "<string>",
        "selectionType": "single",
        "options": [
          "<string>"
        ],
        "hint": "<string>"
      }
    ],
    "expiresAt": "2023-11-07T05:31:56Z",
    "guidance": "<string>"
  }
}
Retrieve a specific question set by its ID. Use this when you have stored the questionSetId from a previous generation response and need to fetch the questions again.

When to use

  • You stored the questionSetId and need to re-display questions
  • You want to verify the questions before passing answers to criteria generation
  • You need to check expiresAt to confirm the question set is still valid

Example response

{
  "questionSet": {
    "id": "cmlz26fn5003dwp61u6vmj4mc",
    "jobId": "job-123",
    "questions": [
      {
        "id": "q1",
        "selectionType": "single",
        "question": "What level of seniority are you targeting?",
        "options": ["Junior", "Mid", "Senior"],
        "hint": "Helps calibrate experience requirements"
      }
    ],
    "guidance": "Answer these questions to calibrate criteria generation.",
    "expiresAt": "2025-12-14T11:30:45Z"
  }
}
If the question set does not exist, the endpoint returns a 404 error with code QUESTION_SET_NOT_FOUND.

Authorizations

Authorization
string
header
required

Use Authorization: Bearer sk_test_* or Authorization: Bearer sk_live_*.

Headers

X-Tenant-Id
string
required

Your customer identifier. Tenants are auto-provisioned on first request.

Path Parameters

jobId
string
required

Your job identifier (external ID).

questionSetId
string
required

Question set ID.

Response

Question set

questionSet
object
required