{"openapi":"3.1.0","info":{"title":"Dio API","version":"1","summary":"Create interview links from your ATS, and get transcripts and evidence-cited scorecards back when each interview is scored.","description":"Guides, the quickstart and webhook signing are at https://getdio.ai/docs.","contact":{"email":"hello@getdio.ai"}},"tags":[{"name":"Roles","description":"The jobs candidates interview for. A role takes links once its plan is published."},{"name":"Interview links","description":"Private links that start one candidate's interview."},{"name":"Interviews","description":"Interviews, their transcripts and their scorecards."},{"name":"Webhooks","description":"Endpoints Dio posts events to, and what it sent."},{"name":"Events","description":"The workspace's event log (early access)."},{"name":"Account","description":"Who is calling, and what the workspace has used."},{"name":"API keys","description":"Managed by a signed-in admin, never by a key."}],"paths":{"/v1/jobs":{"get":{"tags":["Roles"],"summary":"List roles","description":"Every role in the workspace. Offer only the ones with `published: true` as places to send candidates.\n\n**Who:** Any API key, member or admin.","operationId":"listRoles","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleList"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}}},"post":{"tags":["Roles"],"summary":"Create a role","description":"Creates a role as a draft. A recruiter builds and publishes its interview plan in the Studio; until then it takes no links.\n\n**Who:** Any API key, member or admin.","operationId":"createRole","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key.","schema":{"type":"string","maxLength":255}}],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Role"}}}},"400":{"description":"A value the route cannot use, or a field this workspace cannot use yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The record is not in a state for this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRole"}}}}}},"/v1/jobs/{job_id}":{"get":{"tags":["Roles"],"summary":"Get a role","description":"One role.\n\n**Who:** Any API key, member or admin.","operationId":"getRole","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"},"description":"The record's id: `job_…`."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Role"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}}},"patch":{"tags":["Roles"],"summary":"Rename a role's internal title","description":"Sets your own label for the role, including after it is published. The published plan and the title candidates see do not change.\n\n**Who:** A key whose minter created the role, or an admin key.","operationId":"updateRole","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"},"description":"The record's id: `job_…`."},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key.","schema":{"type":"string","maxLength":255}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Role"}}}},"400":{"description":"A value the route cannot use, or a field this workspace cannot use yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not do this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The record is not in a state for this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRole"}}}}}},"/v1/jobs/{job_id}/invites":{"post":{"tags":["Interview links"],"summary":"Create an interview link","description":"Makes one private link to the role's interview and answers its URL, once. The role must be published (`409` otherwise), and the workspace able to start interviews (`409` with the reason otherwise). Linking a person and ATS references are early access.\n\n**Who:** A key whose minter created the role, or an admin key.","operationId":"createInterviewLink","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"},"description":"The record's id: `job_…`."},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key.","schema":{"type":"string","maxLength":255}}],"responses":{"200":{"description":"An existing live link, reused.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewLinkCreated"}}}},"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewLinkCreated"}}}},"400":{"description":"A value the route cannot use, or a field this workspace cannot use yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not do this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The record is not in a state for this. `detail` says why.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Error"},{"$ref":"#/components/schemas/InterviewExists"}]}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateInterviewLink"}}}}},"get":{"tags":["Interview links"],"summary":"List a role's links","description":"The role's links, newest first, a page at a time.\n\n**Who:** Any API key, member or admin.\n\n**Early access.** Answers `404` until the integrations features are switched on for your workspace. Ask hello@getdio.ai.","operationId":"listRoleInterviewLinks","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"},"description":"The record's id: `job_…`."},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"description":"`live`, `used`, `expired` or `revoked`."},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"description":"How many to return: 1 to 200, default 50."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"description":"The previous answer's `next_cursor`, for the page after it."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewLinkPage"}}}},"400":{"description":"A value the route cannot use, or a field this workspace cannot use yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}},"x-early-access":true}},"/v1/invites":{"get":{"tags":["Interview links"],"summary":"Find links","description":"The workspace's links across every role, found by your system's ids or by state.\n\n**Who:** Any API key, member or admin.\n\n**Early access.** Answers `404` until the integrations features are switched on for your workspace. Ask hello@getdio.ai.","operationId":"listInterviewLinks","parameters":[{"name":"system","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System"},"description":"Links carrying a reference from this system."},{"name":"application_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Id"},"description":"The link carrying this application id. Needs `system`."},{"name":"candidate_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Candidate Id"},"description":"The link carrying this candidate id. Needs `system`."},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"description":"`live`, `used`, `expired` or `revoked`."},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"description":"How many to return: 1 to 200, default 50."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"description":"The previous answer's `next_cursor`, for the page after it."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewLinkPage"}}}},"400":{"description":"A value the route cannot use, or a field this workspace cannot use yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}},"x-early-access":true}},"/v1/invites/{invite_id}":{"get":{"tags":["Interview links"],"summary":"Get a link","description":"One link: its ids, state and times. Never the name, address or URL.\n\n**Who:** Any API key, member or admin.\n\n**Early access.** Answers `404` until the integrations features are switched on for your workspace. Ask hello@getdio.ai.","operationId":"getInterviewLink","parameters":[{"name":"invite_id","in":"path","required":true,"schema":{"type":"string","title":"Invite Id"},"description":"The record's id: `inv_…`."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewLink"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}},"x-early-access":true}},"/v1/invites/{invite_id}/link":{"post":{"tags":["Interview links"],"summary":"Read a link's URL again","description":"The URL of a live link, entered in the workspace's audit log. `409` for a link that is not live: make a new one.\n\n**Who:** A key whose minter created the role, or an admin key.\n\n**Early access.** Answers `404` until the integrations features are switched on for your workspace. Ask hello@getdio.ai.","operationId":"readInterviewLinkUrl","parameters":[{"name":"invite_id","in":"path","required":true,"schema":{"type":"string","title":"Invite Id"},"description":"The record's id: `inv_…`."},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key.","schema":{"type":"string","maxLength":255}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewLinkUrl"}}}},"400":{"description":"A value the route cannot use, or a field this workspace cannot use yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not do this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The record is not in a state for this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}},"x-early-access":true}},"/v1/sessions":{"get":{"tags":["Interviews"],"summary":"List interviews","description":"Interviews, newest first. With `job_id` alone, or nothing, every interview of that role or the workspace's newest 200. The other parameters, which page the answer, are early access.\n\n**Who:** Any API key, member or admin.","operationId":"listInterviews","parameters":[{"name":"job_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Job Id"},"description":"Only this role's interviews."},{"name":"system","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"System"},"description":"Early access: interviews carrying a reference from this system."},{"name":"application_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Application Id"},"description":"Early access: the interview carrying this application id."},{"name":"candidate_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Candidate Id"},"description":"Early access: interviews carrying this candidate id."},{"name":"invite_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Invite Id"},"description":"Early access: the interview this link started."},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"description":"Early access: `created` or `completed`."},{"name":"scoring_status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scoring Status"},"description":"Early access: `queued`, `transcribing`, `scoring`, `scored`, `failed` or `skipped`."},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Since"},"description":"Early access: started at or after this ISO-8601 time."},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"description":"Early access. How many to return: 1 to 200, default 50."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"description":"Early access. The previous answer's `next_cursor`, for the page after it."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewList"}}}},"400":{"description":"A value the route cannot use, or a field this workspace cannot use yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}}}},"/v1/sessions/{session_id}":{"get":{"tags":["Interviews"],"summary":"Get an interview","description":"One interview, with its `scoring_status`. Scoring takes minutes after the interview ends: subscribe to `scorecard.ready` rather than polling.\n\n**Who:** Any API key, member or admin.","operationId":"getInterview","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"},"description":"The record's id: `sess_…`."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Interview"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}}},"delete":{"tags":["Interviews"],"summary":"Delete an interview","description":"Deletes the interview, its recording, transcript and scorecard: how a candidate's deletion request reaches Dio from your system. It cannot be undone.\n\n**Who:** A key whose minter created the role, or an admin key.","operationId":"deleteInterview","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"},"description":"The record's id: `sess_…`."},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key.","schema":{"type":"string","maxLength":255}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterviewDeleted"}}}},"400":{"description":"A value the route cannot use, or a field this workspace cannot use yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not do this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The record is not in a state for this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeleteInterview"}}}}}},"/v1/sessions/{session_id}/transcript":{"get":{"tags":["Interviews"],"summary":"Get a transcript","description":"What was said, turn by turn. `404` until the interview has a transcript. Each read is entered in the audit log under the key's name.\n\n**Who:** Any API key, member or admin.","operationId":"getTranscript","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"},"description":"The record's id: `sess_…`."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Transcript"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}}}},"/v1/sessions/{session_id}/scorecard":{"get":{"tags":["Interviews"],"summary":"Get a scorecard","description":"The scored interview, each criterion with the quotes it rests on. `409` until it is scored.\n\n**Who:** Any API key, member or admin.","operationId":"getScorecard","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"},"description":"The record's id: `sess_…`."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Scorecard"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The record is not in a state for this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}}}},"/v1/sessions/{session_id}/scorecard.pdf":{"get":{"tags":["Interviews"],"summary":"Get a scorecard as a PDF","description":"The same scorecard as a PDF a person can read, to attach to a record in your system. `409` until it is scored.\n\n**Who:** Any API key, member or admin.","operationId":"getScorecardPdf","parameters":[{"name":"session_id","in":"path","required":true,"schema":{"type":"string","title":"Session Id"},"description":"The record's id: `sess_…`."}],"responses":{"200":{"description":"OK","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The record is not in a state for this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}}}},"/v1/api-keys":{"get":{"tags":["API keys"],"summary":"List API keys","description":"Every key the workspace has minted, revoked ones included.\n\n**Who:** A signed-in admin only, never an API key. Use Settings → API & webhooks.","operationId":"listApiKeys","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyList"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not do this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}}},"post":{"tags":["API keys"],"summary":"Create an API key","description":"Mints a key and answers its secret, once.\n\n**Who:** A signed-in admin only, never an API key. Use Settings → API & webhooks.","operationId":"createApiKey","parameters":[],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyCreated"}}}},"400":{"description":"A value the route cannot use, or a field this workspace cannot use yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not do this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateApiKey"}}}}}},"/v1/api-keys/{key_id}":{"delete":{"tags":["API keys"],"summary":"Revoke an API key","description":"Revokes the key and disables the webhook endpoints it registered. Answers the same for an id that is unknown or already revoked.\n\n**Who:** A signed-in admin only, never an API key. Use Settings → API & webhooks.","operationId":"revokeApiKey","parameters":[{"name":"key_id","in":"path","required":true,"schema":{"type":"string","title":"Key Id"},"description":"The record's id: `key_…`."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Revoked"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not do this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}}}},"/v1/webhook-endpoints":{"get":{"tags":["Webhooks"],"summary":"List webhook endpoints","description":"The live endpoints: all of them for a signed-in admin, its own for a key.\n\n**Who:** An admin key: it manages only the endpoints it registered (early access). A signed-in admin in Settings → API & webhooks manages all of them.","operationId":"listWebhookEndpoints","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointList"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not do this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}}},"post":{"tags":["Webhooks"],"summary":"Register a webhook endpoint","description":"Registers a URL and answers its signing secret, once. Without `events` it receives `session.completed` and `scorecard.ready`.\n\n**Who:** An admin key: it manages only the endpoints it registered (early access). A signed-in admin in Settings → API & webhooks manages all of them.","operationId":"createWebhookEndpoint","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key.","schema":{"type":"string","maxLength":255}}],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpointCreated"}}}},"400":{"description":"A value the route cannot use, or a field this workspace cannot use yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not do this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The record is not in a state for this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookEndpoint"}}}}}},"/v1/webhook-endpoints/{endpoint_id}":{"delete":{"tags":["Webhooks"],"summary":"Delete a webhook endpoint","description":"Disables the endpoint. Its delivery log stays.\n\n**Who:** An admin key: it manages only the endpoints it registered (early access). A signed-in admin in Settings → API & webhooks manages all of them.","operationId":"deleteWebhookEndpoint","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"},"description":"The record's id: `wh_…`."},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key.","schema":{"type":"string","maxLength":255}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deleted"}}}},"400":{"description":"A value the route cannot use, or a field this workspace cannot use yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not do this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The record is not in a state for this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}}}},"/v1/webhook-endpoints/{endpoint_id}/test":{"post":{"tags":["Webhooks"],"summary":"Send a test delivery","description":"Queues a signed `ping` delivery to the endpoint. Ten an hour per endpoint.\n\n**Who:** An admin key: it manages only the endpoints it registered (early access). A signed-in admin in Settings → API & webhooks manages all of them.\n\n**Early access.** Answers `404` until the integrations features are switched on for your workspace. Ask hello@getdio.ai.","operationId":"testWebhookEndpoint","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"},"description":"The record's id: `wh_…`."},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key.","schema":{"type":"string","maxLength":255}}],"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestDelivery"}}}},"400":{"description":"A value the route cannot use, or a field this workspace cannot use yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not do this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The record is not in a state for this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}},"x-early-access":true}},"/v1/webhook-endpoints/{endpoint_id}/rotate-secret":{"post":{"tags":["Webhooks"],"summary":"Rotate an endpoint's secret","description":"A new signing secret, answered once. The old one keeps signing beside it for 24 hours.\n\n**Who:** An admin key: it manages only the endpoints it registered (early access). A signed-in admin in Settings → API & webhooks manages all of them.\n\n**Early access.** Answers `404` until the integrations features are switched on for your workspace. Ask hello@getdio.ai.","operationId":"rotateWebhookSecret","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"},"description":"The record's id: `wh_…`."},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key.","schema":{"type":"string","maxLength":255}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RotatedSecret"}}}},"400":{"description":"A value the route cannot use, or a field this workspace cannot use yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not do this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The record is not in a state for this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}},"x-early-access":true}},"/v1/webhook-deliveries/{delivery_id}/replay":{"post":{"tags":["Webhooks"],"summary":"Replay a delivery","description":"Sends a delivery again, as a new delivery of the same event. `409` when its endpoint is disabled.\n\n**Who:** An admin key: it manages only the endpoints it registered (early access). A signed-in admin in Settings → API & webhooks manages all of them.\n\n**Early access.** Answers `404` until the integrations features are switched on for your workspace. Ask hello@getdio.ai.","operationId":"replayWebhookDelivery","parameters":[{"name":"delivery_id","in":"path","required":true,"schema":{"type":"string","title":"Delivery Id"},"description":"The record's id: `whd_…`."},{"name":"Idempotency-Key","in":"header","required":true,"description":"A unique value per operation, such as a UUID. A retry with the same key gets the first answer back instead of doing the work twice. Required with an API key.","schema":{"type":"string","maxLength":255}}],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Replay"}}}},"400":{"description":"A value the route cannot use, or a field this workspace cannot use yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not do this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"409":{"description":"The record is not in a state for this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}},"x-early-access":true}},"/v1/webhook-deliveries":{"get":{"tags":["Webhooks"],"summary":"List deliveries","description":"What Dio tried to send and what came back, newest first. The filters and `cursor` are early access.\n\n**Who:** An admin key: it manages only the endpoints it registered (early access). A signed-in admin in Settings → API & webhooks manages all of them.","operationId":"listWebhookDeliveries","parameters":[{"name":"endpoint_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Endpoint Id"},"description":"Early access: deliveries to this endpoint."},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"description":"Early access: `pending`, `sending`, `delivered` or `dead`."},{"name":"event_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Type"},"description":"Early access: deliveries of this event type, or `ping`."},{"name":"event_id","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Id"},"description":"Early access: deliveries of this event."},{"name":"limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Limit"},"description":"How many to return: 1 to 200, default 50."},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"},"description":"Early access. The previous answer's `next_cursor`, for the page after it."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeliveryPage"}}}},"400":{"description":"A value the route cannot use, or a field this workspace cannot use yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not do this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}}}},"/v1/me":{"get":{"tags":["Account"],"summary":"Who is calling","description":"The workspace the key belongs to, and the key's own name and role. A good first call to check a key works.\n\n**Who:** Any API key, member or admin.","operationId":"getMe","parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Me"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}}}},"/v1/events":{"get":{"tags":["Events"],"summary":"List events","description":"The workspace's event log, oldest first, for catching up after an outage or instead of webhooks. Kept 365 days.\n\n**Who:** Any API key, member or admin.\n\n**Early access.** Answers `404` until the integrations features are switched on for your workspace. Ask hello@getdio.ai.","operationId":"listEvents","parameters":[{"name":"type","in":"query","required":false,"schema":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"title":"Type"},"description":"An event type. Repeat it for more than one."},{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Since"},"description":"Where to start, as an ISO-8601 time. Seven days ago if left out."},{"name":"after","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"After"},"description":"The last event id you have. Wins over `since`."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","default":50,"title":"Limit"},"description":"How many to return: 1 to 200, default 50."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventPage"}}}},"400":{"description":"A value the route cannot use, or a field this workspace cannot use yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"No such record in this workspace, or a route this workspace does not have yet.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}},"x-early-access":true}},"/v1/usage":{"get":{"tags":["Account"],"summary":"Get usage","description":"Interview minutes and scoring runs over the period, and the workspace's interviews where it is billed per interview: what an invoice can be checked against.\n\n**Who:** An admin key.","operationId":"getUsage","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"},"description":"How many days back to count: 1 to 365, default 30."}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Usage"}}}},"401":{"description":"No key, or a key that does not exist or was revoked.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace has no card on file.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"The caller may not do this. `detail` says why.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"422":{"description":"A value that does not parse, or an `Idempotency-Key` reused with a different request.","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/ValidationError"},{"$ref":"#/components/schemas/Error"}]}}}},"429":{"description":"Past the key's rate limit. Retry after `Retry-After` seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds until the rate limit's window ends.","schema":{"type":"integer"}}}}}}}},"webhooks":{"invite.created":{"post":{"summary":"invite.created","description":"An interview link was made. Early access.","operationId":"event_invite_created","tags":["Webhooks"],"parameters":[{"name":"Getdio-Signature","in":"header","required":true,"description":"`t=<unix seconds>,v1=<hex HMAC-SHA256 of \"{t}.{raw body}\">`. Two `v1` values for a day after a secret rotation.","schema":{"type":"string"}},{"name":"Getdio-Delivery","in":"header","required":true,"description":"The delivery's id, the same on every retry.","schema":{"type":"string"}},{"name":"Getdio-Event","in":"header","required":true,"description":"The event type.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Event"},{"type":"object","properties":{"type":{"const":"invite.created"},"data":{"$ref":"#/components/schemas/InviteCreated"}}}]}}}},"responses":{"2XX":{"description":"Delivered. Anything else is retried, up to six attempts."}}}},"invite.sent":{"post":{"summary":"invite.sent","description":"Dio's invitation email for a link went out. Early access.","operationId":"event_invite_sent","tags":["Webhooks"],"parameters":[{"name":"Getdio-Signature","in":"header","required":true,"description":"`t=<unix seconds>,v1=<hex HMAC-SHA256 of \"{t}.{raw body}\">`. Two `v1` values for a day after a secret rotation.","schema":{"type":"string"}},{"name":"Getdio-Delivery","in":"header","required":true,"description":"The delivery's id, the same on every retry.","schema":{"type":"string"}},{"name":"Getdio-Event","in":"header","required":true,"description":"The event type.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Event"},{"type":"object","properties":{"type":{"const":"invite.sent"},"data":{"$ref":"#/components/schemas/InviteSent"}}}]}}}},"responses":{"2XX":{"description":"Delivered. Anything else is retried, up to six attempts."}}}},"invite.expired":{"post":{"summary":"invite.expired","description":"A link expired without being used. Early access.","operationId":"event_invite_expired","tags":["Webhooks"],"parameters":[{"name":"Getdio-Signature","in":"header","required":true,"description":"`t=<unix seconds>,v1=<hex HMAC-SHA256 of \"{t}.{raw body}\">`. Two `v1` values for a day after a secret rotation.","schema":{"type":"string"}},{"name":"Getdio-Delivery","in":"header","required":true,"description":"The delivery's id, the same on every retry.","schema":{"type":"string"}},{"name":"Getdio-Event","in":"header","required":true,"description":"The event type.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Event"},{"type":"object","properties":{"type":{"const":"invite.expired"},"data":{"$ref":"#/components/schemas/InviteExpired"}}}]}}}},"responses":{"2XX":{"description":"Delivered. Anything else is retried, up to six attempts."}}}},"invite.revoked":{"post":{"summary":"invite.revoked","description":"A recruiter revoked a link. Early access.","operationId":"event_invite_revoked","tags":["Webhooks"],"parameters":[{"name":"Getdio-Signature","in":"header","required":true,"description":"`t=<unix seconds>,v1=<hex HMAC-SHA256 of \"{t}.{raw body}\">`. Two `v1` values for a day after a secret rotation.","schema":{"type":"string"}},{"name":"Getdio-Delivery","in":"header","required":true,"description":"The delivery's id, the same on every retry.","schema":{"type":"string"}},{"name":"Getdio-Event","in":"header","required":true,"description":"The event type.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Event"},{"type":"object","properties":{"type":{"const":"invite.revoked"},"data":{"$ref":"#/components/schemas/InviteRevoked"}}}]}}}},"responses":{"2XX":{"description":"Delivered. Anything else is retried, up to six attempts."}}}},"session.started":{"post":{"summary":"session.started","description":"A candidate started an interview. Early access.","operationId":"event_session_started","tags":["Webhooks"],"parameters":[{"name":"Getdio-Signature","in":"header","required":true,"description":"`t=<unix seconds>,v1=<hex HMAC-SHA256 of \"{t}.{raw body}\">`. Two `v1` values for a day after a secret rotation.","schema":{"type":"string"}},{"name":"Getdio-Delivery","in":"header","required":true,"description":"The delivery's id, the same on every retry.","schema":{"type":"string"}},{"name":"Getdio-Event","in":"header","required":true,"description":"The event type.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Event"},{"type":"object","properties":{"type":{"const":"session.started"},"data":{"$ref":"#/components/schemas/SessionStarted"}}}]}}}},"responses":{"2XX":{"description":"Delivered. Anything else is retried, up to six attempts."}}}},"session.completed":{"post":{"summary":"session.completed","description":"An interview ended.","operationId":"event_session_completed","tags":["Webhooks"],"parameters":[{"name":"Getdio-Signature","in":"header","required":true,"description":"`t=<unix seconds>,v1=<hex HMAC-SHA256 of \"{t}.{raw body}\">`. Two `v1` values for a day after a secret rotation.","schema":{"type":"string"}},{"name":"Getdio-Delivery","in":"header","required":true,"description":"The delivery's id, the same on every retry.","schema":{"type":"string"}},{"name":"Getdio-Event","in":"header","required":true,"description":"The event type.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Event"},{"type":"object","properties":{"type":{"const":"session.completed"},"data":{"$ref":"#/components/schemas/SessionCompleted"}}}]}}}},"responses":{"2XX":{"description":"Delivered. Anything else is retried, up to six attempts."}}}},"session.not_assessed":{"post":{"summary":"session.not_assessed","description":"An interview will get no scorecard without somebody acting. Early access.","operationId":"event_session_not_assessed","tags":["Webhooks"],"parameters":[{"name":"Getdio-Signature","in":"header","required":true,"description":"`t=<unix seconds>,v1=<hex HMAC-SHA256 of \"{t}.{raw body}\">`. Two `v1` values for a day after a secret rotation.","schema":{"type":"string"}},{"name":"Getdio-Delivery","in":"header","required":true,"description":"The delivery's id, the same on every retry.","schema":{"type":"string"}},{"name":"Getdio-Event","in":"header","required":true,"description":"The event type.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Event"},{"type":"object","properties":{"type":{"const":"session.not_assessed"},"data":{"$ref":"#/components/schemas/SessionNotAssessed"}}}]}}}},"responses":{"2XX":{"description":"Delivered. Anything else is retried, up to six attempts."}}}},"session.deleted":{"post":{"summary":"session.deleted","description":"An interview was deleted. Early access.","operationId":"event_session_deleted","tags":["Webhooks"],"parameters":[{"name":"Getdio-Signature","in":"header","required":true,"description":"`t=<unix seconds>,v1=<hex HMAC-SHA256 of \"{t}.{raw body}\">`. Two `v1` values for a day after a secret rotation.","schema":{"type":"string"}},{"name":"Getdio-Delivery","in":"header","required":true,"description":"The delivery's id, the same on every retry.","schema":{"type":"string"}},{"name":"Getdio-Event","in":"header","required":true,"description":"The event type.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Event"},{"type":"object","properties":{"type":{"const":"session.deleted"},"data":{"$ref":"#/components/schemas/SessionDeleted"}}}]}}}},"responses":{"2XX":{"description":"Delivered. Anything else is retried, up to six attempts."}}}},"scorecard.ready":{"post":{"summary":"scorecard.ready","description":"An interview was scored.","operationId":"event_scorecard_ready","tags":["Webhooks"],"parameters":[{"name":"Getdio-Signature","in":"header","required":true,"description":"`t=<unix seconds>,v1=<hex HMAC-SHA256 of \"{t}.{raw body}\">`. Two `v1` values for a day after a secret rotation.","schema":{"type":"string"}},{"name":"Getdio-Delivery","in":"header","required":true,"description":"The delivery's id, the same on every retry.","schema":{"type":"string"}},{"name":"Getdio-Event","in":"header","required":true,"description":"The event type.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Event"},{"type":"object","properties":{"type":{"const":"scorecard.ready"},"data":{"$ref":"#/components/schemas/ScorecardReady"}}}]}}}},"responses":{"2XX":{"description":"Delivered. Anything else is retried, up to six attempts."}}}},"review.decided":{"post":{"summary":"review.decided","description":"A reviewer recorded a decision. Early access.","operationId":"event_review_decided","tags":["Webhooks"],"parameters":[{"name":"Getdio-Signature","in":"header","required":true,"description":"`t=<unix seconds>,v1=<hex HMAC-SHA256 of \"{t}.{raw body}\">`. Two `v1` values for a day after a secret rotation.","schema":{"type":"string"}},{"name":"Getdio-Delivery","in":"header","required":true,"description":"The delivery's id, the same on every retry.","schema":{"type":"string"}},{"name":"Getdio-Event","in":"header","required":true,"description":"The event type.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Event"},{"type":"object","properties":{"type":{"const":"review.decided"},"data":{"$ref":"#/components/schemas/ReviewDecided"}}}]}}}},"responses":{"2XX":{"description":"Delivered. Anything else is retried, up to six attempts."}}}},"ats.application_created":{"post":{"summary":"ats.application_created","description":"A connected ATS reported a new application for a linked role. Early access.","operationId":"event_ats_application_created","tags":["Webhooks"],"parameters":[{"name":"Getdio-Signature","in":"header","required":true,"description":"`t=<unix seconds>,v1=<hex HMAC-SHA256 of \"{t}.{raw body}\">`. Two `v1` values for a day after a secret rotation.","schema":{"type":"string"}},{"name":"Getdio-Delivery","in":"header","required":true,"description":"The delivery's id, the same on every retry.","schema":{"type":"string"}},{"name":"Getdio-Event","in":"header","required":true,"description":"The event type.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Event"},{"type":"object","properties":{"type":{"const":"ats.application_created"},"data":{"$ref":"#/components/schemas/AtsApplicationCreated"}}}]}}}},"responses":{"2XX":{"description":"Delivered. Anything else is retried, up to six attempts."}}}},"ats.stage_changed":{"post":{"summary":"ats.stage_changed","description":"A connected ATS reported an application moving stage. Early access.","operationId":"event_ats_stage_changed","tags":["Webhooks"],"parameters":[{"name":"Getdio-Signature","in":"header","required":true,"description":"`t=<unix seconds>,v1=<hex HMAC-SHA256 of \"{t}.{raw body}\">`. Two `v1` values for a day after a secret rotation.","schema":{"type":"string"}},{"name":"Getdio-Delivery","in":"header","required":true,"description":"The delivery's id, the same on every retry.","schema":{"type":"string"}},{"name":"Getdio-Event","in":"header","required":true,"description":"The event type.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Event"},{"type":"object","properties":{"type":{"const":"ats.stage_changed"},"data":{"$ref":"#/components/schemas/AtsStageChanged"}}}]}}}},"responses":{"2XX":{"description":"Delivered. Anything else is retried, up to six attempts."}}}},"ats.job_opened":{"post":{"summary":"ats.job_opened","description":"A connected ATS reported a published job with no role yet. Early access.","operationId":"event_ats_job_opened","tags":["Webhooks"],"parameters":[{"name":"Getdio-Signature","in":"header","required":true,"description":"`t=<unix seconds>,v1=<hex HMAC-SHA256 of \"{t}.{raw body}\">`. Two `v1` values for a day after a secret rotation.","schema":{"type":"string"}},{"name":"Getdio-Delivery","in":"header","required":true,"description":"The delivery's id, the same on every retry.","schema":{"type":"string"}},{"name":"Getdio-Event","in":"header","required":true,"description":"The event type.","schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/Event"},{"type":"object","properties":{"type":{"const":"ats.job_opened"},"data":{"$ref":"#/components/schemas/AtsJobOpened"}}}]}}}},"responses":{"2XX":{"description":"Delivered. Anything else is retried, up to six attempts."}}}}},"components":{"schemas":{"ApiKey":{"additionalProperties":false,"properties":{"id":{"description":"`key_` and twelve hex characters.","title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"prefix":{"description":"The key's first characters, to tell keys apart. Never the key.","title":"Prefix","type":"string"},"mode":{"description":"`live` or `test`. Test keys behave exactly like live keys today.","title":"Mode","type":"string"},"role":{"description":"`member` or `admin`.","title":"Role","type":"string"},"created_by_user_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Created By User Id"},"rate_limit_per_minute":{"title":"Rate Limit Per Minute","type":"integer"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"last_used_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Used At"},"revoked_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Revoked At"}},"required":["id","name","prefix","mode","role","created_by_user_id","rate_limit_per_minute","created_at","last_used_at","revoked_at"],"title":"ApiKey","type":"object"},"ApiKeyCreated":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"mode":{"title":"Mode","type":"string"},"role":{"title":"Role","type":"string"},"secret":{"description":"The key: `sk_live_…` or `sk_test_…`. Shown this once; it cannot be recovered.","title":"Secret","type":"string"},"warning":{"title":"Warning","type":"string"}},"required":["id","name","mode","role","secret","warning"],"title":"ApiKeyCreated","type":"object"},"ApiKeyList":{"additionalProperties":false,"properties":{"api_keys":{"items":{"$ref":"#/components/schemas/ApiKey"},"title":"Api Keys","type":"array"}},"required":["api_keys"],"title":"ApiKeyList","type":"object"},"AtsApplicationCreated":{"additionalProperties":false,"properties":{"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"default":null,"title":"References"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Connection Id"},"job_external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job External Id"},"external_event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"External Event Id"},"occurred_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"title":"Occurred At"}},"title":"AtsApplicationCreated","type":"object"},"AtsJobOpened":{"additionalProperties":false,"properties":{"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"default":null,"title":"References"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Connection Id"},"job_external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job External Id"},"job_title":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job Title"},"external_event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"External Event Id"},"occurred_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"title":"Occurred At"}},"title":"AtsJobOpened","type":"object"},"AtsStage":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"}},"required":["id","name"],"title":"AtsStage","type":"object"},"AtsStageChanged":{"additionalProperties":false,"properties":{"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"default":null,"title":"References"},"connection_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Connection Id"},"job_external_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job External Id"},"external_event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"External Event Id"},"occurred_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"title":"Occurred At"},"stage":{"anyOf":[{"$ref":"#/components/schemas/AtsStage"},{"type":"null"}],"default":null}},"title":"AtsStageChanged","type":"object"},"CallingKey":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"role":{"title":"Role","type":"string"}},"required":["id","name","role"],"title":"CallingKey","type":"object"},"Coverage":{"additionalProperties":false,"properties":{"value":{"description":"The share of the rubric's weight the interview assessed.","title":"Value","type":"number"},"threshold":{"description":"The share needed for an overall score.","title":"Threshold","type":"number"},"met":{"title":"Met","type":"boolean"}},"required":["value","threshold","met"],"title":"Coverage","type":"object"},"CreateApiKey":{"additionalProperties":false,"properties":{"name":{"description":"What the key is for. One line. Required.","maxLength":80,"title":"Name","type":"string"},"role":{"anyOf":[{"enum":["member","admin"],"type":"string"},{"type":"null"}],"default":null,"description":"`member` if left out. Never more than your own role.","title":"Role"},"mode":{"anyOf":[{"enum":["live","test"],"type":"string"},{"type":"null"}],"default":null,"description":"`live` if left out.","title":"Mode"},"rate_limit_per_minute":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"120 if left out.","title":"Rate Limit Per Minute"}},"required":["name"],"title":"CreateApiKey","type":"object"},"CreateInterviewLink":{"additionalProperties":false,"properties":{"label":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Free text shown beside the link in the role's Invites tab.","title":"Label"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Early access: who the link is for. The registration form opens with the address filled in and fixed.","title":"Email"},"first_name":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Early access.","title":"First Name"},"last_name":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"description":"Early access.","title":"Last Name"},"lifetime_days":{"anyOf":[{"enum":[3,7,14],"type":"integer"},{"type":"null"}],"default":null,"description":"Early access: how long a link made out to a person lasts. 7 if left out.","title":"Lifetime Days"},"send":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"description":"Early access: with `email`, Dio emails the invitation to that address.","title":"Send"},"references":{"anyOf":[{"$ref":"#/components/schemas/LinkReferences"},{"type":"null"}],"default":null,"description":"Early access: your system's ids, carried on the link, the interview and every event about them."},"on_duplicate":{"anyOf":[{"enum":["reuse","create"],"type":"string"},{"type":"null"}],"default":null,"description":"Early access: what a second request for the same person gets. `reuse` (the default with `references`) answers the live link there already is.","title":"On Duplicate"}},"title":"CreateInterviewLink","type":"object"},"CreateRole":{"additionalProperties":false,"properties":{"title":{"description":"The title candidates see. Required.","title":"Title","type":"string"},"jd_text":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"The job description. A recruiter builds the interview plan from it in the Studio.","title":"Jd Text"},"internal_title":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"default":null,"description":"Your own label for the role. One line.","title":"Internal Title"}},"required":["title"],"title":"CreateRole","type":"object"},"CreateWebhookEndpoint":{"additionalProperties":false,"properties":{"url":{"description":"A public `https://` URL on port 443, by hostname. Required.","maxLength":2048,"title":"Url","type":"string"},"events":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"description":"`session.completed` and `scorecard.ready` if left out. Other events are early access.","title":"Events"},"name":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"default":null,"description":"Early access.","title":"Name"}},"required":["url"],"title":"CreateWebhookEndpoint","type":"object"},"Criterion":{"additionalProperties":false,"description":"One thing the rubric measures, and what the interview showed about it.","properties":{"id":{"title":"Id","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"weight":{"description":"Its share of the overall score, from 0 to 1.","title":"Weight","type":"number"},"screening":{"description":"A standing screening question, rated like any other but carrying no weight.","title":"Screening","type":"boolean"},"result":{"description":"`scored`; `insufficient_evidence` when the question was asked but the answer held nothing to score; `not_assessed` when it was never reached.","enum":["scored","insufficient_evidence","not_assessed"],"title":"Result","type":"string"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"On the scorecard's `scale`. A person's correction wins over the model's. Null unless `result` is `scored` or a person set one.","title":"Score"},"overridden":{"description":"Whether a person corrected the score.","title":"Overridden","type":"boolean"},"verdict":{"description":"What the evidence established, in one line. May be empty.","title":"Verdict","type":"string"},"reasoning":{"description":"Why this score, in a few sentences.","title":"Reasoning","type":"string"},"gap":{"description":"What the next level up needed that the evidence did not show. Empty at the top.","title":"Gap","type":"string"},"next_question":{"description":"The one question that would settle the gap.","title":"Next Question","type":"string"},"not_assessed_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Why it was never reached: `time_exhausted`, `candidate_disconnected`, `candidate_skipped`, `early_exit` or `technical_failure`.","title":"Not Assessed Reason"},"evidence":{"description":"The quotes the score rests on.","items":{"$ref":"#/components/schemas/Evidence"},"title":"Evidence","type":"array"},"contradicting_evidence":{"description":"Quotes that cut against it.","items":{"$ref":"#/components/schemas/Evidence"},"title":"Contradicting Evidence","type":"array"}},"required":["id","name","weight","screening","result","score","overridden","verdict","reasoning","gap","next_question","not_assessed_reason","evidence","contradicting_evidence"],"title":"Criterion","type":"object"},"DeleteInterview":{"additionalProperties":false,"properties":{"reason":{"anyOf":[{"enum":["candidate_request","recruiter_request","test_data","retention"],"type":"string"},{"type":"null"}],"default":null,"description":"Why it is being deleted, for the audit log. `candidate_request` if left out.","title":"Reason"}},"title":"DeleteInterview","type":"object"},"Deleted":{"additionalProperties":false,"properties":{"deleted":{"const":true,"title":"Deleted","type":"boolean"}},"required":["deleted"],"title":"Deleted","type":"object"},"Delivery":{"additionalProperties":false,"properties":{"id":{"description":"`whd_` and twelve hex characters.","title":"Id","type":"string"},"endpoint_id":{"title":"Endpoint Id","type":"string"},"event_type":{"title":"Event Type","type":"string"},"event_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event Id"},"replay_of":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Replay Of"},"status":{"description":"`pending`, `sending`, `delivered` or `dead`.","title":"Status","type":"string"},"attempts":{"title":"Attempts","type":"integer"},"response_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"What your endpoint answered last.","title":"Response Status"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"delivered_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Delivered At"}},"required":["id","endpoint_id","event_type","event_id","replay_of","status","attempts","response_status","last_error","created_at","delivered_at"],"title":"Delivery","type":"object"},"DeliveryPage":{"additionalProperties":false,"properties":{"deliveries":{"items":{"$ref":"#/components/schemas/Delivery"},"title":"Deliveries","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"required":["deliveries","next_cursor"],"title":"DeliveryPage","type":"object"},"EndpointOwner":{"additionalProperties":false,"properties":{"kind":{"enum":["person","key"],"title":"Kind","type":"string"},"id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"required":["kind","id","name"],"title":"EndpointOwner","type":"object"},"Error":{"additionalProperties":false,"properties":{"detail":{"description":"What went wrong, in a sentence written for a person.","title":"Detail","type":"string"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"On a `500` only. Quote it when you report the error.","title":"Request Id"}},"required":["detail"],"title":"Error","type":"object"},"Event":{"additionalProperties":false,"description":"One thing that happened in the workspace: an entry of the event log, and the body of\nevery webhook delivery.","properties":{"id":{"description":"The event's id, `evt_…`. The same at every endpoint: de-duplicate on it.","title":"Id","type":"string"},"type":{"title":"Type","type":"string"},"version":{"description":"The envelope's format: `2026-10`.","title":"Version","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"data":{"additionalProperties":true,"title":"Data","type":"object"}},"required":["id","type","version","created_at","data"],"title":"Event","type":"object"},"EventPage":{"additionalProperties":false,"properties":{"events":{"items":{"$ref":"#/components/schemas/Event"},"title":"Events","type":"array"},"next":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pass as `after` for the next page; null at the end.","title":"Next"}},"required":["events","next"],"title":"EventPage","type":"object"},"Evidence":{"additionalProperties":false,"description":"A quote from the transcript that a score rests on.","properties":{"quote":{"description":"What was said, word for word.","title":"Quote","type":"string"},"speaker":{"enum":["candidate","interviewer"],"title":"Speaker","type":"string"},"headline":{"description":"What the moment shows, in a few words. May be empty.","title":"Headline","type":"string"},"turn_id":{"title":"Turn Id","type":"string"},"start_ms":{"title":"Start Ms","type":"integer"},"end_ms":{"title":"End Ms","type":"integer"}},"required":["quote","speaker","headline","turn_id","start_ms","end_ms"],"title":"Evidence","type":"object"},"Grant":{"additionalProperties":false,"properties":{"period":{"description":"`month`, `year`, `trial` or `manual`.","title":"Period","type":"string"},"amount":{"title":"Amount","type":"integer"},"used":{"title":"Used","type":"integer"},"left":{"title":"Left","type":"integer"},"expires_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Expires At"}},"required":["period","amount","used","left","expires_at"],"title":"Grant","type":"object"},"Integrity":{"additionalProperties":false,"properties":{"status":{"description":"`checked` or `not_checked`.","title":"Status","type":"string"},"to_review":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"How many integrity findings a person should look at. Null until checked.","title":"To Review"}},"required":["status","to_review"],"title":"Integrity","type":"object"},"Interview":{"additionalProperties":false,"description":"One interview: who it belongs to, where it is, and whether it is scored yet.","properties":{"id":{"description":"`sess_` and twelve hex characters.","title":"Id","type":"string"},"job_id":{"title":"Job Id","type":"string"},"invite_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The link it was started from.","title":"Invite Id"},"room":{"description":"Dio's own name for the call. Opaque.","title":"Room","type":"string"},"status":{"description":"`created` while it runs, `completed` once it has ended.","title":"Status","type":"string"},"end_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Why it ended, once it has.","title":"End Reason"},"scoring_status":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"`queued`, `transcribing`, `scoring`, `scored`, `failed` or `skipped`.","title":"Scoring Status"},"scorecard_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Scorecard Id"},"has_transcript":{"title":"Has Transcript","type":"boolean"},"has_scorecard":{"title":"Has Scorecard","type":"boolean"},"started_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Started At"},"ended_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Ended At"},"integrity":{"$ref":"#/components/schemas/Integrity"},"references":{"description":"Your system's ids for this record. Empty unless ATS references were sent (early access).","items":{"$ref":"#/components/schemas/Reference"},"title":"References","type":"array"}},"required":["id","job_id","invite_id","room","status","end_reason","scoring_status","scorecard_id","has_transcript","has_scorecard","started_at","ended_at","integrity","references"],"title":"Interview","type":"object"},"InterviewDeleted":{"additionalProperties":false,"properties":{"deleted":{"const":true,"title":"Deleted","type":"boolean"},"artifacts_removed":{"description":"How many stored files were deleted with it.","title":"Artifacts Removed","type":"integer"}},"required":["deleted","artifacts_removed"],"title":"InterviewDeleted","type":"object"},"InterviewExists":{"additionalProperties":false,"properties":{"detail":{"title":"Detail","type":"string"},"invite_id":{"description":"The link the existing interview was started from.","title":"Invite Id","type":"string"},"session_id":{"description":"The interview that already exists.","title":"Session Id","type":"string"}},"required":["detail","invite_id","session_id"],"title":"InterviewExists","type":"object"},"InterviewLink":{"additionalProperties":false,"description":"A link as it is read back: ids, state and times. Never the name, address or URL.","properties":{"id":{"title":"Id","type":"string"},"job_id":{"title":"Job Id","type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"status":{"description":"`live`, `used`, `expired` or `revoked`.","title":"Status","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"expires_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Expires At"},"sent_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"When Dio emailed the invitation.","title":"Sent At"},"used_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"When an interview was started from it.","title":"Used At"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The interview it started.","title":"Session Id"},"references":{"description":"Your system's ids for this record. Empty unless ATS references were sent (early access).","items":{"$ref":"#/components/schemas/Reference"},"title":"References","type":"array"}},"required":["id","job_id","label","status","created_at","expires_at","sent_at","used_at","session_id","references"],"title":"InterviewLink","type":"object"},"InterviewLinkCreated":{"additionalProperties":false,"properties":{"id":{"description":"`inv_` and twelve hex characters.","title":"Id","type":"string"},"job_id":{"title":"Job Id","type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"url":{"description":"The candidate's link. In this answer and nowhere else: store it or send it on now.","title":"Url","type":"string"},"expires_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"72 hours after it was made, for a link not made out to a person.","title":"Expires At"},"references":{"description":"Your system's ids for this record. Empty unless ATS references were sent (early access).","items":{"$ref":"#/components/schemas/Reference"},"title":"References","type":"array"},"reused":{"description":"`true` when an existing live link was answered instead (status `200`).","title":"Reused","type":"boolean"}},"required":["id","job_id","label","url","expires_at","references","reused"],"title":"InterviewLinkCreated","type":"object"},"InterviewLinkPage":{"additionalProperties":false,"properties":{"invites":{"items":{"$ref":"#/components/schemas/InterviewLink"},"title":"Invites","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Pass as `cursor` for the next page; null at the end.","title":"Next Cursor"}},"required":["invites","next_cursor"],"title":"InterviewLinkPage","type":"object"},"InterviewLinkUrl":{"additionalProperties":false,"properties":{"url":{"title":"Url","type":"string"}},"required":["url"],"title":"InterviewLinkUrl","type":"object"},"InterviewList":{"additionalProperties":false,"properties":{"sessions":{"items":{"$ref":"#/components/schemas/Interview"},"title":"Sessions","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"Present when the answer is a page (any filter but `job_id` was given).","title":"Next Cursor"}},"required":["sessions"],"title":"InterviewList","type":"object"},"Interviews":{"additionalProperties":false,"properties":{"limited":{"description":"`false` on a plan with no interview limit.","title":"Limited","type":"boolean"},"used":{"title":"Used","type":"integer"},"left":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Left"},"grants":{"description":"Each open batch of interviews, the first to expire first.","items":{"$ref":"#/components/schemas/Grant"},"title":"Grants","type":"array"}},"required":["limited","used","left","grants"],"title":"Interviews","type":"object"},"InviteCreated":{"additionalProperties":false,"properties":{"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"default":null,"title":"References"},"invite_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Invite Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job Id"},"expires_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"title":"Expires At"},"emailed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":null,"title":"Emailed"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"`api`, `app` or `open_link`.","title":"Source"},"run_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"The workflow run that made it.","title":"Run Id"}},"title":"InviteCreated","type":"object"},"InviteExpired":{"additionalProperties":false,"properties":{"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"default":null,"title":"References"},"invite_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Invite Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job Id"},"expired_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"title":"Expired At"}},"title":"InviteExpired","type":"object"},"InviteRevoked":{"additionalProperties":false,"properties":{"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"default":null,"title":"References"},"invite_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Invite Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job Id"}},"title":"InviteRevoked","type":"object"},"InviteSent":{"additionalProperties":false,"properties":{"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"default":null,"title":"References"},"invite_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Invite Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job Id"},"sent_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"title":"Sent At"}},"title":"InviteSent","type":"object"},"Knockout":{"additionalProperties":false,"properties":{"question_id":{"title":"Question Id","type":"string"},"status":{"enum":["pass","fail","unclear"],"title":"Status","type":"string"},"reason":{"description":"What the candidate said against what the role needs.","title":"Reason","type":"string"},"evidence":{"anyOf":[{"$ref":"#/components/schemas/Evidence"},{"type":"null"}]}},"required":["question_id","status","reason","evidence"],"title":"Knockout","type":"object"},"Language":{"additionalProperties":false,"description":"How well the role's language demand was met. Reported beside the score, never in it.","properties":{"meets_demand":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Meets Demand"},"summary":{"title":"Summary","type":"string"},"ratings":{"items":{"$ref":"#/components/schemas/LanguageRating"},"title":"Ratings","type":"array"}},"required":["meets_demand","summary","ratings"],"title":"Language","type":"object"},"LanguageRating":{"additionalProperties":false,"properties":{"dimension":{"title":"Dimension","type":"string"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"},"reasoning":{"title":"Reasoning","type":"string"}},"required":["dimension","score","reasoning"],"title":"LanguageRating","type":"object"},"LinkReferences":{"additionalProperties":false,"description":"Your system's ids for the person and the role the link is for (early access).","properties":{"system":{"description":"A lowercase name you choose for your system: `greenhouse`, `custom`.","title":"System","type":"string"},"candidate_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"title":"Candidate Id"},"application_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"title":"Application Id"},"job_id":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"default":null,"title":"Job Id"},"url":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"default":null,"description":"An `https://` link to the record in your system. Shown, never fetched.","title":"Url"}},"required":["system"],"title":"LinkReferences","type":"object"},"Me":{"additionalProperties":false,"properties":{"workspace":{"$ref":"#/components/schemas/Workspace"},"key":{"anyOf":[{"$ref":"#/components/schemas/CallingKey"},{"type":"null"}],"default":null,"description":"The calling key. Absent for a signed-in session."}},"required":["workspace"],"title":"Me","type":"object"},"Overall":{"additionalProperties":false,"properties":{"score":{"description":"The weighted score, on the scorecard's `scale`.","title":"Score","type":"number"},"display":{"description":"The score as the app shows it, to one decimal place.","title":"Display","type":"string"},"band":{"description":"The band the role's rubric puts that score in.","title":"Band","type":"string"}},"required":["score","display","band"],"title":"Overall","type":"object"},"Ping":{"additionalProperties":false,"properties":{"endpoint_id":{"title":"Endpoint Id","type":"string"},"requested_by":{"title":"Requested By","type":"string"}},"required":["endpoint_id","requested_by"],"title":"Ping","type":"object"},"Reference":{"additionalProperties":false,"description":"An id your own system knows a record by.","properties":{"system":{"description":"The system the id is from, as you named it: `greenhouse`.","title":"System","type":"string"},"kind":{"description":"`candidate`, `application` or `job`.","title":"Kind","type":"string"},"external_id":{"description":"The id in that system.","title":"External Id","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"A link to the record in that system, if you sent one.","title":"Url"}},"required":["system","kind","external_id","url"],"title":"Reference","type":"object"},"Replay":{"additionalProperties":false,"properties":{"id":{"description":"The new delivery.","title":"Id","type":"string"},"replay_of":{"description":"The original delivery.","title":"Replay Of","type":"string"}},"required":["id","replay_of"],"title":"Replay","type":"object"},"ReviewDecided":{"additionalProperties":false,"properties":{"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"default":null,"title":"References"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Session Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job Id"},"decision":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Decision"},"scorecard_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Scorecard Id"},"supersedes":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Supersedes"}},"title":"ReviewDecided","type":"object"},"Revoked":{"additionalProperties":false,"properties":{"revoked":{"const":true,"title":"Revoked","type":"boolean"}},"required":["revoked"],"title":"Revoked","type":"object"},"Role":{"additionalProperties":false,"description":"A role: the job a candidate interviews for, and its published interview plan.","properties":{"id":{"description":"`job_` and twelve hex characters.","title":"Id","type":"string"},"title":{"description":"The title candidates see.","title":"Title","type":"string"},"internal_title":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Your own label for the role. Null when unset.","title":"Internal Title"},"status":{"description":"`draft` or `published`.","title":"Status","type":"string"},"published":{"description":"Whether the role has a published plan. Only a published role takes interview links.","title":"Published","type":"boolean"},"plan_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The published plan. Null for a draft.","title":"Plan Id"},"plan_version":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The published plan's version.","title":"Plan Version"},"plan_sha256":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"A hash of the published plan, to tell which rubric an interview used.","title":"Plan Sha256"},"records_video":{"description":"Whether interviews for this role record video.","title":"Records Video","type":"boolean"},"created_at":{"format":"date-time","title":"Created At","type":"string"}},"required":["id","title","internal_title","status","published","plan_id","plan_version","plan_sha256","records_video","created_at"],"title":"Role","type":"object"},"RoleList":{"additionalProperties":false,"properties":{"jobs":{"items":{"$ref":"#/components/schemas/Role"},"title":"Jobs","type":"array"}},"required":["jobs"],"title":"RoleList","type":"object"},"RotatedSecret":{"additionalProperties":false,"properties":{"secret":{"description":"The new `whsec_…` secret. Shown this once.","title":"Secret","type":"string"},"previous_valid_until":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"description":"Until then, deliveries are signed with the old secret too.","title":"Previous Valid Until"}},"required":["secret","previous_valid_until"],"title":"RotatedSecret","type":"object"},"Scale":{"additionalProperties":false,"properties":{"min":{"title":"Min","type":"integer"},"max":{"title":"Max","type":"integer"}},"required":["min","max"],"title":"Scale","type":"object"},"Scorecard":{"additionalProperties":false,"description":"The scored interview: each criterion with the quotes behind it, and the overall score.","properties":{"version":{"const":"2026-11","description":"This answer's format. It changes only when a field changes meaning or goes away; see the changelog.","title":"Version","type":"string"},"id":{"title":"Id","type":"string"},"session_id":{"title":"Session Id","type":"string"},"job_id":{"title":"Job Id","type":"string"},"status":{"description":"`incomplete_coverage` when too little of the rubric was assessed for an overall score.","enum":["scored","incomplete_coverage","failed","superseded"],"title":"Status","type":"string"},"scale":{"$ref":"#/components/schemas/Scale","description":"The range criterion and overall scores are on."},"overall":{"anyOf":[{"$ref":"#/components/schemas/Overall"},{"type":"null"}],"description":"Null when coverage was not met."},"coverage":{"$ref":"#/components/schemas/Coverage"},"criteria":{"items":{"$ref":"#/components/schemas/Criterion"},"title":"Criteria","type":"array"},"knockouts":{"items":{"$ref":"#/components/schemas/Knockout"},"title":"Knockouts","type":"array"},"summary":{"anyOf":[{"$ref":"#/components/schemas/Summary"},{"type":"null"}]},"language":{"anyOf":[{"$ref":"#/components/schemas/Language"},{"type":"null"}]},"plan_id":{"description":"The interview plan the interview was scored against.","title":"Plan Id","type":"string"},"plan_version":{"title":"Plan Version","type":"string"},"scored_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Scored At"}},"required":["version","id","session_id","job_id","status","scale","overall","coverage","criteria","knockouts","summary","language","plan_id","plan_version","scored_at"],"title":"Scorecard","type":"object"},"ScorecardReady":{"additionalProperties":false,"properties":{"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"default":null,"title":"References"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Session Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job Id"},"scorecard_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Scorecard Id"}},"title":"ScorecardReady","type":"object"},"SessionCompleted":{"additionalProperties":false,"properties":{"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"default":null,"title":"References"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Session Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job Id"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Status"},"end_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"End Reason"},"duration_minutes":{"anyOf":[{"type":"number"},{"type":"null"}],"default":null,"title":"Duration Minutes"}},"title":"SessionCompleted","type":"object"},"SessionDeleted":{"additionalProperties":false,"properties":{"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"default":null,"title":"References"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Session Id"},"invite_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Invite Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job Id"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Reason"}},"title":"SessionDeleted","type":"object"},"SessionNotAssessed":{"additionalProperties":false,"properties":{"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"default":null,"title":"References"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Session Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job Id"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Reason"}},"title":"SessionNotAssessed","type":"object"},"SessionStarted":{"additionalProperties":false,"properties":{"references":{"anyOf":[{"items":{"$ref":"#/components/schemas/Reference"},"type":"array"},{"type":"null"}],"default":null,"title":"References"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Session Id"},"invite_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Invite Id"},"job_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Job Id"},"started_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"title":"Started At"}},"title":"SessionStarted","type":"object"},"Summary":{"additionalProperties":false,"properties":{"text":{"description":"A recruiter's summary of the interview.","title":"Text","type":"string"},"strengths":{"items":{"type":"string"},"title":"Strengths","type":"array"},"gaps":{"items":{"type":"string"},"title":"Gaps","type":"array"},"suggested_probes":{"description":"Questions worth asking in the next round.","items":{"type":"string"},"title":"Suggested Probes","type":"array"}},"required":["text","strengths","gaps","suggested_probes"],"title":"Summary","type":"object"},"TestDelivery":{"additionalProperties":false,"properties":{"delivery_id":{"title":"Delivery Id","type":"string"}},"required":["delivery_id"],"title":"TestDelivery","type":"object"},"Transcript":{"additionalProperties":false,"description":"What was said, turn by turn.","properties":{"version":{"const":"2026-11","title":"Version","type":"string"},"session_id":{"title":"Session Id","type":"string"},"kind":{"description":"`final` once the accurate transcript the scorecard cites has been written; `live`, transcribed during the call, until then. Evidence `turn_id`s match the `final` transcript's turns.","enum":["final","live"],"title":"Kind","type":"string"},"turns":{"items":{"$ref":"#/components/schemas/TranscriptTurn"},"title":"Turns","type":"array"}},"required":["version","session_id","kind","turns"],"title":"Transcript","type":"object"},"TranscriptTurn":{"additionalProperties":false,"properties":{"id":{"description":"The turn's id. Scorecard evidence names it as `turn_id`.","title":"Id","type":"string"},"index":{"description":"Its place in the interview, from 0.","title":"Index","type":"integer"},"speaker":{"enum":["candidate","interviewer"],"title":"Speaker","type":"string"},"text":{"title":"Text","type":"string"},"start_ms":{"description":"Milliseconds from the start of the interview.","title":"Start Ms","type":"integer"},"end_ms":{"title":"End Ms","type":"integer"},"question_id":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"The plan question being answered, if known.","title":"Question Id"}},"required":["id","index","speaker","text","start_ms","end_ms","question_id"],"title":"TranscriptTurn","type":"object"},"UpdateRole":{"additionalProperties":false,"properties":{"internal_title":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"description":"Your own label for the role. `null` or an empty string clears it. The only field this call takes.","title":"Internal Title"}},"required":["internal_title"],"title":"UpdateRole","type":"object"},"Usage":{"additionalProperties":false,"properties":{"since":{"format":"date-time","title":"Since","type":"string"},"interview_minutes":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Interview Minutes"},"scoring_runs":{"title":"Scoring Runs","type":"integer"},"interviews":{"anyOf":[{"$ref":"#/components/schemas/Interviews"},{"type":"null"}],"default":null,"description":"Present where the workspace is billed per interview."}},"required":["since","interview_minutes","scoring_runs"],"title":"Usage","type":"object"},"ValidationError":{"additionalProperties":false,"properties":{"detail":{"description":"One entry per value that did not parse. The value sent is never quoted.","items":{"$ref":"#/components/schemas/ValidationProblem"},"title":"Detail","type":"array"}},"required":["detail"],"title":"ValidationError","type":"object"},"ValidationProblem":{"additionalProperties":false,"properties":{"loc":{"description":"Where the value was: `[\"query\", \"limit\"]`.","items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"title":"Loc","type":"array"},"msg":{"title":"Msg","type":"string"},"type":{"title":"Type","type":"string"}},"required":["loc","msg","type"],"title":"ValidationProblem","type":"object"},"WebhookEndpoint":{"additionalProperties":false,"properties":{"id":{"description":"`wh_` and twelve hex characters.","title":"Id","type":"string"},"url":{"title":"Url","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"events":{"description":"The event types it receives.","items":{"type":"string"},"title":"Events","type":"array"},"owner":{"$ref":"#/components/schemas/EndpointOwner","description":"Who registered it: a person, or an API key."},"created_at":{"format":"date-time","title":"Created At","type":"string"},"secret_rotated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Secret Rotated At"},"last_delivery_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Delivery At"},"last_delivery_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Delivery Status"}},"required":["id","url","name","events","owner","created_at","secret_rotated_at","last_delivery_at","last_delivery_status"],"title":"WebhookEndpoint","type":"object"},"WebhookEndpointCreated":{"additionalProperties":false,"properties":{"id":{"description":"`wh_` and twelve hex characters.","title":"Id","type":"string"},"url":{"title":"Url","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"events":{"description":"The event types it receives.","items":{"type":"string"},"title":"Events","type":"array"},"owner":{"$ref":"#/components/schemas/EndpointOwner","description":"Who registered it: a person, or an API key."},"created_at":{"format":"date-time","title":"Created At","type":"string"},"secret_rotated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Secret Rotated At"},"last_delivery_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Delivery At"},"last_delivery_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Delivery Status"},"secret":{"description":"The signing secret, `whsec_…`. Shown this once.","title":"Secret","type":"string"},"signature_header":{"const":"Getdio-Signature","title":"Signature Header","type":"string"},"verify":{"description":"How to check a delivery's signature, in a sentence.","title":"Verify","type":"string"}},"required":["id","url","name","events","owner","created_at","secret_rotated_at","last_delivery_at","last_delivery_status","secret","signature_header","verify"],"title":"WebhookEndpointCreated","type":"object"},"WebhookEndpointList":{"additionalProperties":false,"properties":{"webhook_endpoints":{"items":{"$ref":"#/components/schemas/WebhookEndpoint"},"title":"Webhook Endpoints","type":"array"}},"required":["webhook_endpoints"],"title":"WebhookEndpointList","type":"object"},"Workspace":{"additionalProperties":false,"properties":{"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"}},"required":["id","name"],"title":"Workspace","type":"object"}},"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","description":"`Authorization: Bearer sk_live_…`. Keys are minted by an admin at Settings → API & webhooks."}}},"security":[{"apiKey":[]}],"servers":[{"url":"https://api.getdio.ai"}]}