import { ModerationApi } from "@moderation-api/sdk";
const moderationApi = new ModerationApi({
secretKey: process.env["MODAPI_SECRET_KEY"] ?? "",
});
async function run() {
const result = await moderationApi.queue.retrieve("<id>");
console.log(result);
}
run();
import os
from moderation_api import ModerationAPI
with ModerationAPI(
secret_key=os.environ["MODAPI_SECRET_KEY"],
) as moderation_api:
res = moderation_api.queue.retrieve(id="<id>")
# Handle response
print(res)
Get a review queue with its item counts. The counts use the filters and the date window of the queue, the same as the dashboard.
TypeScript
import { ModerationApi } from "@moderation-api/sdk";
const moderationApi = new ModerationApi({
secretKey: process.env["MODAPI_SECRET_KEY"] ?? "",
});
async function run() {
const result = await moderationApi.queue.retrieve("<id>");
console.log(result);
}
run();
import os
from moderation_api import ModerationAPI
with ModerationAPI(
secret_key=os.environ["MODAPI_SECRET_KEY"],
) as moderation_api:
res = moderation_api.queue.retrieve(id="<id>")
# Handle response
print(res)
The project to act on, by ID or name. Required with an organization key unless the key reaches only one project; list projects with GET /projects. A project key acts on its own project and needs no value: naming another one is an error.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Moderation API","colors":{"primary":"#2563EB","light":"#3b82f6","dark":"#2563EB"},"logo":{"light":"https://mintcdn.com/moderationapi/rWTs3Lpls7ie5CqF/logo/dark.svg?fit=max\u0026auto=format\u0026n=rWTs3Lpls7ie5CqF\u0026q=85\u0026s=ec821de8afaf14ccd604f3ee5778ffde","dark":"https://mintcdn.com/moderationapi/rWTs3Lpls7ie5CqF/logo/light.svg?fit=max\u0026auto=format\u0026n=rWTs3Lpls7ie5CqF\u0026q=85\u0026s=88b0c645ccbe3291663f9cfd6ca3e458","href":"https://moderationapi.com"},"favicon":"https://mintcdn.com/moderationapi/rWTs3Lpls7ie5CqF/favicon.svg?fit=max\u0026auto=format\u0026n=rWTs3Lpls7ie5CqF\u0026q=85\u0026s=7d5a34e9f0e22b58990a738b243814c8","api":{"openapi":"https://api.moderationapi.com/v1/openapi.json","playground":{"display":"none"},"mdx":{"auth":{"method":"bearer"}}},"appearance":{"default":"system","strict":false},"navbar":{"links":[{"href":"https://dash.moderationapi.com","label":"Sign up"}],"primary":{"type":"button","label":"Dashboard","href":"https://dash.moderationapi.com"}},"seo":{"indexing":"all"},"styling":{"eyebrows":"breadcrumbs","codeblocks":{"theme":"nord"},"latex":false},"integrations":{"mixpanel":{"projectToken":"b1f544f1321ffbf049e18aeb65c77391"}},"contextual":{"options":["copy","view","claude","chatgpt","mcp","vscode","cursor"],"display":"header"},"interaction":{"drilldown":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"moderationapi","hasAudioNarration":false,"actualSubdomain":"moderationapi","customDomains":["docs.moderationapi.com"],"gitSource":{"type":"github","owner":"moderation-api","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae202a1d6a250fd1db9a5d0","collectionId":"625aa089-8ca2-4406-805d-503c67b0fbb8","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae202a1d6a250fd1db9a5d0"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"REMOVE_BRANDING":{"status":"ENABLED"}},"buildId":"6ae202a1d6a250fd1db9a5d0","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"default","tag":"Documentation","count":88},{"language":"default","tag":"API References","count":75},{"language":"default","tag":"Learn","count":59},{"language":"default","tag":"Review","count":21},{"language":"default","tag":"Webhooks","count":16},{"language":"default","tag":"Actions","count":12},{"language":"default","tag":"Recipes","count":12},{"language":"default","tag":"Policies","count":11},{"language":"default","tag":"Events","count":10},{"language":"default","tag":"Authors","count":8}],"searchSettings":{"maxResults":10}},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#sidebar{border-right:1px solid rgb(var(--gray-200) / 0.5)}.dark #sidebar{border-right:1px solid rgb(255 255 255/0.07)}#sidebar-content,#sidebar>ul{background:transparent}html,body{scroll-behavior:smooth}"}],"page":{"pagePath":"api-reference/review-queues/get-a-queue","slug":"/api-reference/review-queues/get-a-queue","pageMetadata":{"openapi":"get /queue/{id}","title":"Get a queue","description":"Get a review queue with its item counts. The counts use the filters and the date window of the queue, the same as the dashboard.","href":"/api-reference/review-queues/get-a-queue"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Get a review queue with its item counts. The counts use the filters and the date window of the queue, the same as the dashboard.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"codeStyling":{"theme":"nord"},"config":{},"pageMetadata":{"openapi":"get /queue/{id}","title":"Get a queue","description":"Get a review queue with its item counts. The counts use the filters and the date window of the queue, the same as the dashboard.","href":"/api-reference/review-queues/get-a-queue"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/moderationapi/180b3125cc5d8d2f/main.js"],"openApiReferenceData":{"operation":{"operationId":"getQueue","summary":"Get a queue","description":"Get a review queue with its item counts. The counts use the filters and the date window of the queue, the same as the dashboard.","tags":["Review queues"],"security":["d3dca7d1-3492-476a-8d9c-cf95817a2c12"],"parameters":["ba9221f8-9e6c-45f5-bd00-ee9f2a94e216","8e36774f-e500-451c-a2bb-60b5851fe423"],"responses":{"200":"3ea6a77f-af97-43e0-b5d7-34cb7b9b929a","400":"458a96cc-bca8-4dd2-b6e9-e43b22a122a3","401":"58bb3280-2dbd-41b0-b610-9eadd847c61a","403":"421cf25b-4609-4237-9e1b-40ee5c5a4e49","404":"a7b6c8f1-61e8-4a37-a7b2-55b420bfb189","429":"82f21c1d-a407-4833-920c-66a5c43fe05c","500":"4e0b1537-b4e2-47b7-823a-c720e0438a89"},"x-speakeasy-group":"queue","x-speakeasy-name-override":"retrieve","x-speakeasy-mcp":{"title":"Get a queue","scopes":["read"],"readOnlyHint":true,"destructiveHint":false},"x-codeSamples":[{"lang":"typescript","label":"TypeScript","source":"import { ModerationApi } from \"@moderation-api/sdk\";\n\nconst moderationApi = new ModerationApi({\n secretKey: process.env[\"MODAPI_SECRET_KEY\"] ?? \"\",\n});\n\nasync function run() {\n const result = await moderationApi.queue.retrieve(\"\u003cid>\");\n\n console.log(result);\n}\n\nrun();\n"},{"lang":"python","label":"Python","source":"import os\nfrom moderation_api import ModerationAPI\n\n\nwith ModerationAPI(\n secret_key=os.environ[\"MODAPI_SECRET_KEY\"],\n) as moderation_api:\n\n res = moderation_api.queue.retrieve(id=\"\u003cid>\")\n\n # Handle response\n print(res)\n"},{"lang":"php","label":"PHP","source":"declare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse ModerationApi;\n\n$sdk = ModerationApi\\ModerationApi::builder()\n ->setSecurity(\n getenv('MODAPI_SECRET_KEY')\n )\n ->build();\n\n\n\n$response = $sdk->queue->retrieve(\n id: '\u003cid>'\n);\n\nif ($response->object !== null) {\n // handle response\n}\n"},{"lang":"ruby","label":"Ruby","source":"require 'moderation_api'\n\nModels = ::ModerationApi::Models\ns = ::ModerationApi::ModerationApi.new(\n secret_key: ENV.fetch('MODAPI_SECRET_KEY')\n)\nres = s.queue.retrieve(id: '\u003cid>')\n\nunless res.object.nil?\n # handle response\nend\n"},{"lang":"bash","label":"CLI","source":"modapi queue retrieve --secret-key \"$MODAPI_SECRET_KEY\" --id '\u003cid>'\n"}],"method":"get","type":"path","servers":["3b69faf0-6367-4df0-9a7b-8827012e91e4"],"path":"/queue/{id}","baseUrlOptions":["https://api.moderationapi.com/v1"],"title":"Get a queue","codeSamples":[{"label":"TypeScript","lang":"typescript","source":"import { ModerationApi } from \"@moderation-api/sdk\";\n\nconst moderationApi = new ModerationApi({\n secretKey: process.env[\"MODAPI_SECRET_KEY\"] ?? \"\",\n});\n\nasync function run() {\n const result = await moderationApi.queue.retrieve(\"\u003cid>\");\n\n console.log(result);\n}\n\nrun();\n"},{"label":"Python","lang":"python","source":"import os\nfrom moderation_api import ModerationAPI\n\n\nwith ModerationAPI(\n secret_key=os.environ[\"MODAPI_SECRET_KEY\"],\n) as moderation_api:\n\n res = moderation_api.queue.retrieve(id=\"\u003cid>\")\n\n # Handle response\n print(res)\n"},{"label":"PHP","lang":"php","source":"declare(strict_types=1);\n\nrequire 'vendor/autoload.php';\n\nuse ModerationApi;\n\n$sdk = ModerationApi\\ModerationApi::builder()\n ->setSecurity(\n getenv('MODAPI_SECRET_KEY')\n )\n ->build();\n\n\n\n$response = $sdk->queue->retrieve(\n id: '\u003cid>'\n);\n\nif ($response->object !== null) {\n // handle response\n}\n"},{"label":"Ruby","lang":"ruby","source":"require 'moderation_api'\n\nModels = ::ModerationApi::Models\ns = ::ModerationApi::ModerationApi.new(\n secret_key: ENV.fetch('MODAPI_SECRET_KEY')\n)\nres = s.queue.retrieve(id: '\u003cid>')\n\nunless res.object.nil?\n # handle response\nend\n"},{"label":"CLI","lang":"bash","source":"modapi queue retrieve --secret-key \"$MODAPI_SECRET_KEY\" --id '\u003cid>'\n"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated"},"dependencies":{"parameters":{"ba9221f8-9e6c-45f5-bd00-ee9f2a94e216":{"in":"path","name":"id","schema":{"type":"string","description":"The queue ID.","isRequired":true,"uniqueKey":"","typeLabel":"string"},"required":true,"description":"The queue ID."},"8e36774f-e500-451c-a2bb-60b5851fe423":{"in":"header","name":"Project-Id","required":false,"schema":{"type":"string","isRequired":false,"description":"The project to act on, by ID or name. Required with an organization key unless the key reaches only one project; list projects with GET /projects. A project key acts on its own project and needs no value: naming another one is an error.","uniqueKey":"","typeLabel":"string"},"description":"The project to act on, by ID or name. Required with an organization key unless the key reaches only one project; list projects with GET /projects. A project key acts on its own project and needs no value: naming another one is an error.","x-speakeasy-name-override":"projectId"}},"responses":{"3ea6a77f-af97-43e0-b5d7-34cb7b9b929a":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"queue":{"type":"object","properties":{"id":{"type":"string","description":"The queue ID.","isRequired":true,"uniqueKey":"queue.id","typeLabel":"string"},"name":{"type":"string","description":"The queue name.","isRequired":true,"uniqueKey":"queue.name","typeLabel":"string"},"description":{"oneOf":[{"description":"The queue description.","type":"string","isRequired":true,"uniqueKey":"queue.description.oneOf.0","typeLabel":"string"},{"description":"The queue description.","type":"null","isRequired":true,"uniqueKey":"queue.description.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"queue.description","typeLabel":"string | null"},"isDefault":{"type":"boolean","description":"Whether this is the default queue of the project.","isRequired":true,"uniqueKey":"queue.isDefault","typeLabel":"boolean"},"unresolvedItemsCount":{"type":"integer","description":"Number of items that wait for review.","isRequired":true,"uniqueKey":"queue.unresolvedItemsCount","typeLabel":"integer"},"resolvedItemsCount":{"type":"integer","description":"Number of items that are resolved.","isRequired":true,"uniqueKey":"queue.resolvedItemsCount","typeLabel":"integer"},"totalItemsCount":{"type":"integer","description":"Number of items in the queue, resolved and unresolved.","isRequired":true,"uniqueKey":"queue.totalItemsCount","typeLabel":"integer"}},"required":["id","name","description","isDefault","unresolvedItemsCount","resolvedItemsCount","totalItemsCount"],"additionalProperties":false,"isRequired":true,"uniqueKey":"queue","typeLabel":"object"}},"required":["queue"],"additionalProperties":false,"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"queue":{"id":"\u003cstring>","name":"\u003cstring>","description":"\u003cstring>","isDefault":true,"unresolvedItemsCount":123,"resolvedItemsCount":123,"totalItemsCount":123}}}},"exampleType":"generated"}},"exampleType":"generated"},"458a96cc-bca8-4dd2-b6e9-e43b22a122a3":{"description":"Invalid input data","content":{"application/json":{"schema":{"type":"object","description":"The request is malformed or a parameter is invalid.","properties":{"type":{"type":"string","const":"invalid_request_error","description":"Broad error category. Stable; safe to switch on.","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"code":{"type":"string","enum":["invalid_request","project_id_required","project_name_ambiguous","validation_failed"],"x-speakeasy-unknown-values":"allow","description":"Exactly what went wrong. Stable; safe to branch on. New codes may be added.\n\n- `invalid_request`: A parameter is invalid. `message` says which one.\n- `project_id_required`: An organization key called a project endpoint without naming the project in `Project-Id`, and the key reaches more than one project. `message` lists the projects it reaches.\n- `project_name_ambiguous`: The name in `Project-Id` fits more than one project the key reaches. `message` lists them; name the project by ID instead.\n- `validation_failed`: The request body does not match the schema. `issues` lists each problem with its `path`.","example":"invalid_request","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation.","example":"Invalid input data","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"request_id":{"type":"string","description":"Identifies this request. Include it when you contact support.","example":"h8fkz6kkzoa446ffve37atys","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","description":"Documentation for this `code`.","isRequired":true,"uniqueKey":"doc_url","typeLabel":"string\u003curi>"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","description":"What is wrong.","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"issues.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"issues.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"issues.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number"},"description":"Location of the invalid field in the request body.","uniqueKey":"issues.items.[INDEX].path","typeLabel":"(string | number)[]"},"code":{"type":"string","description":"Validation rule that failed.","uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"Validation problems, when the request body is invalid.","uniqueKey":"issues","typeLabel":"object[]"}},"required":["type","code","message","request_id","doc_url"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"invalid_request_error","code":"invalid_request","message":"Invalid input data","request_id":"h8fkz6kkzoa446ffve37atys","doc_url":"\u003cstring>","issues":[{"message":"\u003cstring>","path":["\u003cstring>"],"code":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"58bb3280-2dbd-41b0-b610-9eadd847c61a":{"description":"Authorization not provided","content":{"application/json":{"schema":{"type":"object","description":"The API key is missing, invalid or revoked.","properties":{"type":{"type":"string","const":"authentication_error","description":"Broad error category. Stable; safe to switch on.","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"code":{"type":"string","enum":["unauthorized","missing_api_key","malformed_api_key","invalid_api_key"],"x-speakeasy-unknown-values":"allow","description":"Exactly what went wrong. Stable; safe to branch on. New codes may be added.\n\n- `unauthorized`: Authentication failed.\n- `missing_api_key`: No API key in the `Authorization` header.\n- `malformed_api_key`: The `Authorization` header does not contain a valid key format.\n- `invalid_api_key`: The API key does not exist or was revoked.","example":"unauthorized","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation.","example":"Authorization not provided","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"request_id":{"type":"string","description":"Identifies this request. Include it when you contact support.","example":"h8fkz6kkzoa446ffve37atys","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","description":"Documentation for this `code`.","isRequired":true,"uniqueKey":"doc_url","typeLabel":"string\u003curi>"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","description":"What is wrong.","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"issues.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"issues.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"issues.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number"},"description":"Location of the invalid field in the request body.","uniqueKey":"issues.items.[INDEX].path","typeLabel":"(string | number)[]"},"code":{"type":"string","description":"Validation rule that failed.","uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"Validation problems, when the request body is invalid.","uniqueKey":"issues","typeLabel":"object[]"}},"required":["type","code","message","request_id","doc_url"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"authentication_error","code":"unauthorized","message":"Authorization not provided","request_id":"h8fkz6kkzoa446ffve37atys","doc_url":"\u003cstring>","issues":[{"message":"\u003cstring>","path":["\u003cstring>"],"code":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"421cf25b-4609-4237-9e1b-40ee5c5a4e49":{"description":"Insufficient access","content":{"application/json":{"schema":{"type":"object","description":"The API key cannot do this, or the plan limit for this resource is reached.","properties":{"type":{"type":"string","const":"permission_error","description":"Broad error category. Stable; safe to switch on.","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"code":{"type":"string","enum":["permission_denied","account_disabled","quota_exceeded","plan_feature_unavailable","plan_limit_exceeded","organization_key_required","missing_key_permission","project_not_reachable"],"x-speakeasy-unknown-values":"allow","description":"Exactly what went wrong. Stable; safe to branch on. New codes may be added.\n\n- `permission_denied`: The API key cannot perform this request.\n- `account_disabled`: The organization account is disabled.\n- `quota_exceeded`: The organization has used all API requests on its plan.\n- `plan_feature_unavailable`: The current plan does not include this feature.\n- `plan_limit_exceeded`: The request goes over a limit of the current plan.\n- `organization_key_required`: This endpoint needs an organization API key, but a project key was used.\n- `missing_key_permission`: The organization key does not have the permission this endpoint needs.\n- `project_not_reachable`: The organization key is limited to other projects.","example":"permission_denied","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation.","example":"Insufficient access","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"request_id":{"type":"string","description":"Identifies this request. Include it when you contact support.","example":"h8fkz6kkzoa446ffve37atys","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","description":"Documentation for this `code`.","isRequired":true,"uniqueKey":"doc_url","typeLabel":"string\u003curi>"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","description":"What is wrong.","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"issues.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"issues.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"issues.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number"},"description":"Location of the invalid field in the request body.","uniqueKey":"issues.items.[INDEX].path","typeLabel":"(string | number)[]"},"code":{"type":"string","description":"Validation rule that failed.","uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"Validation problems, when the request body is invalid.","uniqueKey":"issues","typeLabel":"object[]"}},"required":["type","code","message","request_id","doc_url"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"permission_error","code":"permission_denied","message":"Insufficient access","request_id":"h8fkz6kkzoa446ffve37atys","doc_url":"\u003cstring>","issues":[{"message":"\u003cstring>","path":["\u003cstring>"],"code":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"a7b6c8f1-61e8-4a37-a7b2-55b420bfb189":{"description":"Not found","content":{"application/json":{"schema":{"type":"object","description":"The resource does not exist or the key cannot see it.","properties":{"type":{"type":"string","const":"not_found_error","description":"Broad error category. Stable; safe to switch on.","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"code":{"type":"string","enum":["resource_not_found","action_not_found","author_not_found","queue_not_found","queue_item_not_found","wordlist_not_found","webhook_not_found","project_not_found","channel_not_found"],"x-speakeasy-unknown-values":"allow","description":"Exactly what went wrong. Stable; safe to branch on. New codes may be added.\n\n- `resource_not_found`: The resource does not exist.\n- `action_not_found`: The action does not exist.\n- `author_not_found`: The author does not exist.\n- `queue_not_found`: The review queue does not exist.\n- `queue_item_not_found`: The queue item does not exist in the project.\n- `wordlist_not_found`: The wordlist does not exist.\n- `webhook_not_found`: The webhook does not exist.\n- `project_not_found`: The project does not exist.\n- `channel_not_found`: The channel does not exist.","example":"resource_not_found","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation.","example":"Not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"request_id":{"type":"string","description":"Identifies this request. Include it when you contact support.","example":"h8fkz6kkzoa446ffve37atys","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","description":"Documentation for this `code`.","isRequired":true,"uniqueKey":"doc_url","typeLabel":"string\u003curi>"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","description":"What is wrong.","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"issues.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"issues.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"issues.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number"},"description":"Location of the invalid field in the request body.","uniqueKey":"issues.items.[INDEX].path","typeLabel":"(string | number)[]"},"code":{"type":"string","description":"Validation rule that failed.","uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"Validation problems, when the request body is invalid.","uniqueKey":"issues","typeLabel":"object[]"}},"required":["type","code","message","request_id","doc_url"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"not_found_error","code":"resource_not_found","message":"Not found","request_id":"h8fkz6kkzoa446ffve37atys","doc_url":"\u003cstring>","issues":[{"message":"\u003cstring>","path":["\u003cstring>"],"code":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"82f21c1d-a407-4833-920c-66a5c43fe05c":{"description":"Too many requests. Retry after the number of seconds in the `Retry-After` header.","headers":{"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","description":"Too many requests. Retry after the number of seconds in the `Retry-After` header.","properties":{"type":{"type":"string","const":"rate_limit_error","description":"Broad error category. Stable; safe to switch on.","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"code":{"type":"string","enum":["rate_limit_exceeded"],"x-speakeasy-unknown-values":"allow","description":"Exactly what went wrong. Stable; safe to branch on. New codes may be added.\n\n- `rate_limit_exceeded`: Too many requests. Wait for the `Retry-After` seconds.","example":"rate_limit_exceeded","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation.","example":"Rate limit exceeded","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"request_id":{"type":"string","description":"Identifies this request. Include it when you contact support.","example":"h8fkz6kkzoa446ffve37atys","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","description":"Documentation for this `code`.","isRequired":true,"uniqueKey":"doc_url","typeLabel":"string\u003curi>"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","description":"What is wrong.","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"issues.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"issues.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"issues.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number"},"description":"Location of the invalid field in the request body.","uniqueKey":"issues.items.[INDEX].path","typeLabel":"(string | number)[]"},"code":{"type":"string","description":"Validation rule that failed.","uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"Validation problems, when the request body is invalid.","uniqueKey":"issues","typeLabel":"object[]"}},"required":["type","code","message","request_id","doc_url"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"rate_limit_error","code":"rate_limit_exceeded","message":"Rate limit exceeded","request_id":"h8fkz6kkzoa446ffve37atys","doc_url":"\u003cstring>","issues":[{"message":"\u003cstring>","path":["\u003cstring>"],"code":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"4e0b1537-b4e2-47b7-823a-c720e0438a89":{"description":"Internal server error","content":{"application/json":{"schema":{"type":"object","description":"Something went wrong on our side. Retry with backoff.","properties":{"type":{"type":"string","const":"api_error","description":"Broad error category. Stable; safe to switch on.","isRequired":true,"uniqueKey":"type","typeLabel":"string"},"code":{"type":"string","enum":["internal_error"],"x-speakeasy-unknown-values":"allow","description":"Exactly what went wrong. Stable; safe to branch on. New codes may be added.\n\n- `internal_error`: Something went wrong on our side. Retry with backoff.","example":"internal_error","isRequired":true,"uniqueKey":"code","typeLabel":"enum\u003cstring>"},"message":{"type":"string","description":"Human-readable explanation.","example":"Internal server error","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"request_id":{"type":"string","description":"Identifies this request. Include it when you contact support.","example":"h8fkz6kkzoa446ffve37atys","isRequired":true,"uniqueKey":"request_id","typeLabel":"string"},"doc_url":{"type":"string","format":"uri","description":"Documentation for this `code`.","isRequired":true,"uniqueKey":"doc_url","typeLabel":"string\u003curi>"},"issues":{"type":"array","items":{"type":"object","properties":{"message":{"type":"string","description":"What is wrong.","isRequired":true,"uniqueKey":"issues.items.[INDEX].message","typeLabel":"string"},"path":{"type":"array","items":{"oneOf":[{"type":"string","uniqueKey":"issues.items.[INDEX].path.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"number","uniqueKey":"issues.items.[INDEX].path.items.[INDEX].oneOf.1","typeLabel":"number"}],"uniqueKey":"issues.items.[INDEX].path.items.[INDEX]","typeLabel":"string | number"},"description":"Location of the invalid field in the request body.","uniqueKey":"issues.items.[INDEX].path","typeLabel":"(string | number)[]"},"code":{"type":"string","description":"Validation rule that failed.","uniqueKey":"issues.items.[INDEX].code","typeLabel":"string"}},"required":["message"],"uniqueKey":"issues.items.[INDEX]","typeLabel":"object"},"description":"Validation problems, when the request body is invalid.","uniqueKey":"issues","typeLabel":"object[]"}},"required":["type","code","message","request_id","doc_url"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"type":"api_error","code":"internal_error","message":"Internal server error","request_id":"h8fkz6kkzoa446ffve37atys","doc_url":"\u003cstring>","issues":[{"message":"\u003cstring>","path":["\u003cstring>"],"code":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"d3dca7d1-3492-476a-8d9c-cf95817a2c12":{"Authorization":{"type":"http","scheme":"bearer","x-speakeasy-name-override":"secretKey","scopes":[],"schemeName":"Authorization"}}},"servers":{"3b69faf0-6367-4df0-9a7b-8827012e91e4":{"url":"https://api.moderationapi.com/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","x-speakeasy-name-override":"secretKey","scopes":[],"schemeName":"Authorization"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"Authorization","name":"Authorization"}],"title":"Authorization"}]},"originalFileLocation":"https://api.moderationapi.com/v1/openapi.json"},"subdomain":"moderationapi","siteName":"Moderation API","title":"Get a queue - Moderation API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-26T13:51:44.318Z","originalFileLocation":"api-reference/review-queues/get-a-queue.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Get a review queue with its item counts. The counts use the filters and the date window of the queue, the same as the dashboard.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Moderation API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/moderationapi/btfa7NMdSPkX5ZGP/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/moderationapi/btfa7NMdSPkX5ZGP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/moderationapi/btfa7NMdSPkX5ZGP/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/moderationapi/btfa7NMdSPkX5ZGP/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/moderationapi/btfa7NMdSPkX5ZGP/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/moderationapi/btfa7NMdSPkX5ZGP/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/moderationapi/btfa7NMdSPkX5ZGP/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/moderationapi/btfa7NMdSPkX5ZGP/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/moderationapi/btfa7NMdSPkX5ZGP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get a queue - Moderation API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get a review queue with its item counts. The counts use the filters and the date window of the queue, the same as the dashboard.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Moderation API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.moderationapi.com/api-reference/review-queues/get-a-queue\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://moderationapi.mintlify.app/_mintlify/api/og/v2?division=Review+Queue\u0026amp;title=Get+a+queue\u0026amp;description=Get+a+review+queue+with+its+item+counts.+The+counts+use+the+filters+and+the+date+window+of+the+queue%2C+the+same+as+the+dashboard.\u0026amp;theme=74a66089d28e4556cd5bc9ac\u0026amp;signature=43c86d9beffdebe3d9a28521578293bda82ea3aca1cc683c3f19072a35bff166\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get a queue - Moderation API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get a review queue with its item counts. The counts use the filters and the date window of the queue, the same as the dashboard.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://moderationapi.mintlify.app/_mintlify/api/og/v2?division=Review+Queue\u0026amp;title=Get+a+queue\u0026amp;description=Get+a+review+queue+with+its+item+counts.+The+counts+use+the+filters+and+the+date+window+of+the+queue%2C+the+same+as+the+dashboard.\u0026amp;theme=74a66089d28e4556cd5bc9ac\u0026amp;signature=43c86d9beffdebe3d9a28521578293bda82ea3aca1cc683c3f19072a35bff166\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/moderationapi/btfa7NMdSPkX5ZGP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Moderation API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.moderationapi.com/api-reference/review-queues/get-a-queue\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/review-queues/get-a-queue.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.moderationapi.com/#organization\",\"name\":\"Moderation API\",\"url\":\"https://docs.moderationapi.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/moderationapi/rWTs3Lpls7ie5CqF/logo/dark.svg?fit=max\u0026auto=format\u0026n=rWTs3Lpls7ie5CqF\u0026q=85\u0026s=ec821de8afaf14ccd604f3ee5778ffde\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.moderationapi.com#website\",\"name\":\"Moderation API\",\"url\":\"https://docs.moderationapi.com\",\"publisher\":{\"@id\":\"https://docs.moderationapi.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.moderationapi.com/api-reference/review-queues/get-a-queue#webpage\",\"url\":\"https://docs.moderationapi.com/api-reference/review-queues/get-a-queue\",\"name\":\"Get a queue\",\"description\":\"Get a review queue with its item counts. The counts use the filters and the date window of the queue, the same as the dashboard.\",\"dateModified\":\"2026-10-26T13:51:44.318Z\",\"isPartOf\":{\"@id\":\"https://docs.moderationapi.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.moderationapi.com/api-reference/review-queues/get-a-queue#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.moderationapi.com/api-reference/review-queues/get-a-queue#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Review Queue\",\"item\":\"https://docs.moderationapi.com/api-reference/review-queues/list-queues\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Get a queue\",\"item\":\"https://docs.moderationapi.com/api-reference/review-queues/get-a-queue\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.moderationapi.com/api-reference/review-queues/get-a-queue#apireference\",\"headline\":\"Get a queue\",\"name\":\"Get a queue\",\"description\":\"Get a review queue with its item counts. The counts use the filters and the date window of the queue, the same as the dashboard.\",\"url\":\"https://docs.moderationapi.com/api-reference/review-queues/get-a-queue\",\"mainEntityOfPage\":{\"@id\":\"https://docs.moderationapi.com/api-reference/review-queues/get-a-queue#webpage\"},\"dateModified\":\"2026-10-26T13:51:44.318Z\",\"publisher\":{\"@id\":\"https://docs.moderationapi.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.moderationapi.com#website\"}}]}\u003c/script>","siteName":"Moderation API","nav":{"global":null,"dropdowns":[{"dropdown":"Documentation","icon":{"style":"solid","name":"book"},"groups":[{"group":"Documentation","pages":[{"title":"Get started","icon":"book-open","href":"/get-started/introduction"},{"title":"Concepts","icon":"cubes","href":"/get-started/concepts"},{"group":"SDK quickstarts","icon":"rocket","pages":[{"title":"Content moderation with TypeScript","sidebarTitle":"TypeScript","icon":"node-js","href":"/quickstart/typescript"},{"title":"Content moderation with Ruby","sidebarTitle":"Ruby","icon":"gem","href":"/quickstart/ruby"},{"title":"Content moderation with Python","sidebarTitle":"Python","icon":"python","href":"/quickstart/python"},{"title":"Content moderation with PHP","sidebarTitle":"PHP","icon":"php","href":"/quickstart/php"},{"title":"Content moderation with the CLI","sidebarTitle":"CLI","icon":"terminal","href":"/quickstart/cli"},{"title":"Content moderation with Go","sidebarTitle":"Go","icon":"golang","href":"/quickstart/go"},{"title":"Content moderation with Java","sidebarTitle":"Java","icon":"java","href":"/quickstart/java"},{"title":"Content moderation with .NET","sidebarTitle":".NET","icon":"microsoft","href":"/quickstart/dotnet"}]}]},{"group":"AI agents","pages":[{"title":"Build with AI agents","sidebarTitle":"Overview","icon":"robot","href":"/ai/overview"},{"title":"Setup skill","sidebarTitle":"Setup skill","icon":"wrench","href":"/ai/skill"},{"title":"MCP server","sidebarTitle":"MCP server","icon":"plug","href":"/ai/mcp"},{"title":"CLI for agents","sidebarTitle":"CLI for agents","icon":"terminal","href":"/ai/cli"},{"title":"AI app builders","sidebarTitle":"AI app builders","icon":"wand-magic-sparkles","href":"/ai/app-builders"},{"title":"What your agent can do","sidebarTitle":"Examples","icon":"wand-magic-sparkles","href":"/ai/examples"}]},{"group":"Learn","pages":[{"group":"Automate Moderation","icon":"shield","pages":[{"title":"Automated content moderation","sidebarTitle":"Overview","href":"/content-moderation/overview"},{"group":"Analyzing content","pages":[{"title":"Submitting content to Moderation API","sidebarTitle":"Submit content","href":"/content-moderation/submit-content"},{"title":"Understand and act on API responses","sidebarTitle":"Understanding API responses","href":"/content-moderation/acting-on-responses"},{"title":"Real-time voice","href":"/content-moderation/real-time-voice"}]},{"title":"Content rules","sidebarTitle":"Content rules","href":"/content-moderation/rules"},{"title":"Thresholds","sidebarTitle":"Thresholds","href":"/content-moderation/thresholds"},{"title":"Optimizing accuracy","sidebarTitle":"Optimizing accuracy","href":"/content-moderation/optimizing-accuracy"}]},{"group":"Policies","icon":"scale-balanced","pages":[{"title":"Policies","sidebarTitle":"Overview","href":"/policies/overview"},{"title":"Guidelines","href":"/policies/guidelines"},{"title":"Wordlists","href":"/policies/wordlists"},{"title":"Privacy","href":"/policies/privacy"},{"title":"Toxicity \u0026 Hate","href":"/policies/toxicity"},{"title":"NSFW","href":"/policies/nsfw"},{"title":"Illicit \u0026 Regulated","href":"/policies/illicit"},{"title":"Spam \u0026 Security","href":"/policies/spam"},{"title":"URL Risk","href":"/policies/url-risk"},{"title":"Unicode spoofing detection","sidebarTitle":"Unicode spoofing","href":"/policies/unicode-spoofing"},{"title":"Topics","href":"/policies/topics"}]},{"group":"Managing Users","icon":"user","pages":[{"title":"User moderation","sidebarTitle":"Overview","href":"/users/overview"},{"title":"Trust Levels","href":"/users/trust-levels"},{"title":"Updating authors","sidebarTitle":"Updating authors","href":"/users/updating-authors"},{"title":"Custom data","sidebarTitle":"Custom data","href":"/users/custom-data"},{"title":"Fraud Detection","href":"/users/fraud-detection"}]},{"group":"Review","icon":"clipboard-list","pages":[{"title":"Review","sidebarTitle":"Overview","href":"/review/overview"},{"title":"Building content views","sidebarTitle":"Building views","href":"/review/content-views"},{"title":"View settings","sidebarTitle":"View settings","href":"/review/view-settings"},{"title":"Reviewing content","sidebarTitle":"Reviewing content","href":"/review/reviewing-content"},{"group":"Recipes","pages":[{"title":"Content view recipes","sidebarTitle":"Overview","href":"/review/recipes/overview"},{"title":"Escalations","sidebarTitle":"Escalations","href":"/review/recipes/escalations"},{"title":"Language views","sidebarTitle":"Language views","href":"/review/recipes/language-views"},{"title":"Channel views","sidebarTitle":"Channel views","href":"/review/recipes/channel-views"},{"title":"Content type views","sidebarTitle":"Content type views","href":"/review/recipes/content-type-views"},{"title":"Media review","sidebarTitle":"Media review","href":"/review/recipes/media-review"},{"title":"Severity triage","sidebarTitle":"Severity triage","href":"/review/recipes/severity-triage"},{"title":"New account review","sidebarTitle":"New account review","href":"/review/recipes/new-accounts"},{"title":"Spam waves","sidebarTitle":"Spam waves","href":"/review/recipes/spam-waves"},{"title":"Shadow flag QA","sidebarTitle":"Shadow flag QA","href":"/review/recipes/shadow-flag-qa"},{"title":"Wordlist monitoring","sidebarTitle":"Wordlist monitoring","href":"/review/recipes/wordlist-monitoring"},{"title":"Unflagged sampling","sidebarTitle":"Unflagged sampling","href":"/review/recipes/unflagged-sampling"}]},{"title":"Getting content into review","sidebarTitle":"Submitting content","href":"/review/submit-content"},{"title":"Reviewer wellness","sidebarTitle":"Reviewer wellness","href":"/review/wellness"},{"title":"Translating queue items","sidebarTitle":"Translation","href":"/review/translation"},{"title":"Integrating with your application","sidebarTitle":"Integrations","href":"/review/integrations"},{"title":"Inviting moderators","sidebarTitle":"Inviting moderators","href":"/review/inviting-moderators"}]},{"group":"Casebook","icon":"gavel","pages":[{"title":"Casebook","sidebarTitle":"Overview","href":"/casebook/overview"},{"title":"How the casebook rules","sidebarTitle":"How it rules","href":"/casebook/rulings"},{"title":"Casebook topics","sidebarTitle":"Topics","href":"/casebook/topics"},{"title":"Managing your casebook","sidebarTitle":"Managing cases","href":"/casebook/managing"}]},{"group":"Actions","icon":"bolt","pages":[{"title":"Actions","sidebarTitle":"Overview","href":"/actions/overview"},{"title":"Content actions","sidebarTitle":"Content actions","href":"/actions/content-actions"},{"title":"Author actions","sidebarTitle":"Author actions","href":"/actions/author-actions"},{"title":"Webhooks","sidebarTitle":"Webhooks","href":"/actions/webhooks"}]},{"group":"Model Studio","icon":"cube","pages":[{"title":"Model Studio","sidebarTitle":"Overview","href":"/model-studio/overview"},{"group":"Custom Models","pages":[{"title":"Custom models","sidebarTitle":"Overview","href":"/custom-models/overview"},{"title":"Using a custom model","sidebarTitle":"Using a model","href":"/custom-models/using"},{"title":"Adaptive model optimization","sidebarTitle":"Adaptive model optimization","href":"/custom-models/adaptive-model-optimization"}]}]},{"group":"Manage account","icon":"receipt","pages":[{"title":"Quota usage","href":"/account/quota-usage"},{"title":"Manage plan","href":"/account/upgrading"},{"title":"Manage team","href":"/account/adding-team-members"}]}]},{"group":"Migrations","pages":[{"title":"Migrate from Perspective API","sidebarTitle":"Perspective API","href":"/guides/migrate-from-perspective-api"}]},{"group":"Resources","pages":[{"title":"SDKs","icon":"code","href":"/resources/sdks"},{"title":"Integrations","icon":"cube","href":"/resources/integrations"}]}]},{"dropdown":"API References","icon":{"style":"solid","name":"code"},"groups":[{"group":"API","icon":"terminal","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"title":"Authentication","href":"/api-reference/authentication"},{"title":"Management API","href":"/api-reference/management-api"},{"title":"Errors","href":"/api-reference/errors"},{"title":"Rate limits","href":"/api-reference/rate-limits"},{"title":"Pagination","href":"/api-reference/pagination"}]},{"group":"Account","pages":[{"openapi":"get /account","title":"Get account details","href":"/api-reference/account/get-account-details"}]},{"group":"Moderate","pages":[{"openapi":"POST /moderate","sidebarTitle":"Submit content","title":"Submit content","href":"/api-reference/moderate/submit-content"},{"openapi":"GET /stream","sidebarTitle":"Voice stream","title":"Real-time voice stream","href":"/api-reference/moderate/voice-stream"}]},{"group":"Authors","pages":[{"openapi":"get /authors","title":"List authors","href":"/api-reference/author/list-authors"},{"openapi":"post /authors","title":"Create a new author","href":"/api-reference/author/create-a-new-author"},{"openapi":"get /authors/{id}","title":"Get author details","href":"/api-reference/author/get-author-details"},{"openapi":"put /authors/{id}","title":"Update author details","href":"/api-reference/author/update-author-details"},{"openapi":"delete /authors/{id}","title":"Delete an author","href":"/api-reference/author/delete-an-author"},{"openapi":"post /authors/{id}/block","title":"Block author","href":"/api-reference/author/block-author"},{"openapi":"post /authors/{id}/suspend","title":"Suspend author","href":"/api-reference/author/suspend-author"},{"openapi":"post /authors/{id}/unblock","title":"Unblock author","href":"/api-reference/author/unblock-author"}]},{"group":"Actions","pages":[{"openapi":"post /actions","title":"Create an action","href":"/api-reference/actions/create-an-action"},{"openapi":"get /actions/{id}","title":"Get an action","href":"/api-reference/actions/get-an-action"},{"openapi":"put /actions/{id}","title":"Update an action","href":"/api-reference/actions/update-an-action"},{"openapi":"delete /actions/{id}","title":"Delete an action","href":"/api-reference/actions/delete-an-action"},{"openapi":"post /actions/execute","title":"Execute moderation action","href":"/api-reference/actions/execute-moderation-action"},{"openapi":"post /content/{id}/allow","title":"Allow content","href":"/api-reference/actions/allow-content"},{"openapi":"post /content/{id}/reject","title":"Reject content","href":"/api-reference/actions/reject-content"},{"openapi":"get /actions","title":"List moderation actions","href":"/api-reference/actions/list-moderation-actions"}]},{"group":"Wordlist","pages":[{"openapi":"get /wordlist","title":"List wordlists","href":"/api-reference/wordlist/list-wordlists"},{"openapi":"post /wordlist","title":"Create wordlist","href":"/api-reference/wordlist/create-wordlist"},{"openapi":"get /wordlist/{id}","title":"Get wordlist","href":"/api-reference/wordlist/get-wordlist"},{"openapi":"put /wordlist/{id}","title":"Update wordlist","href":"/api-reference/wordlist/update-wordlist"},{"openapi":"get /wordlist/{id}/embedding-status","title":"Get embedding status","href":"/api-reference/wordlist/get-embedding-status"},{"openapi":"post /wordlist/{id}/words","title":"Add words to wordlist","href":"/api-reference/wordlist/add-words-to-wordlist"},{"openapi":"delete /wordlist/{id}/words","title":"Remove words from wordlist","href":"/api-reference/wordlist/remove-words-from-wordlist"}]},{"group":"Review Queue","pages":[{"openapi":"get /queue","title":"List queues","description":"List the review queues of the project. The default queue comes first. The list is paginated. To get the item counts of a queue, use `GET /queue/{id}`.","href":"/api-reference/review-queues/list-queues"},{"openapi":"get /queue/{id}","title":"Get a queue","href":"/api-reference/review-queues/get-a-queue"},{"openapi":"get /queue/{id}/stats","title":"Get queue statistics","description":"Get review statistics of a queue for a period: resolved and pending items, the top reviewers and the resolved items per day.","href":"/api-reference/review-queues/get-queue-statistics"},{"openapi":"get /queue/{id}/items","title":"List queue items","href":"/api-reference/review-queues/get-queue-items"},{"openapi":"post /queue/{id}/items/{itemId}/resolve","title":"Resolve a queue item","href":"/api-reference/review-queues/resolve-a-queue-item"},{"openapi":"post /queue/{id}/items/resolve","title":"Resolve queue items","href":"/api-reference/review-queues/resolve-queue-items"},{"openapi":"post /queue/{id}/items/{itemId}/unresolve","title":"Unresolve a queue item","href":"/api-reference/review-queues/unresolve-a-queue-item"}]},{"group":"Projects","pages":[{"openapi":"get /projects","title":"List projects","href":"/api-reference/projects/list-projects"},{"openapi":"post /projects","title":"Create a project","href":"/api-reference/projects/create-a-project"},{"openapi":"get /projects/{id}","title":"Get a project","href":"/api-reference/projects/get-a-project"},{"openapi":"put /projects/{id}","title":"Update a project","href":"/api-reference/projects/update-a-project"},{"openapi":"delete /projects/{id}","title":"Delete a project","href":"/api-reference/projects/delete-a-project"},{"openapi":"post /projects/{id}/duplicate","title":"Duplicate a project","href":"/api-reference/projects/duplicate-a-project"},{"openapi":"post /projects/{id}/api-keys","title":"Create a project API key","href":"/api-reference/projects/create-a-project-api-key"}]},{"group":"Channels","pages":[{"openapi":"get /projects/{projectId}/channels","title":"List channels","href":"/api-reference/channels/list-channels"},{"openapi":"post /projects/{projectId}/channels","title":"Create a channel","href":"/api-reference/channels/create-a-channel"},{"openapi":"get /channels/{id}","title":"Get a channel","href":"/api-reference/channels/get-a-channel"},{"openapi":"put /channels/{id}","title":"Update a channel","href":"/api-reference/channels/update-a-channel"},{"openapi":"delete /channels/{id}","title":"Delete a channel","href":"/api-reference/channels/delete-a-channel"},{"openapi":"post /channels/{id}/duplicate","title":"Duplicate a channel","href":"/api-reference/channels/duplicate-a-channel"}]},{"group":"Webhooks","pages":[{"openapi":"get /webhooks","title":"List webhooks","href":"/api-reference/webhooks/list-webhooks"},{"openapi":"post /webhooks","title":"Create a webhook","href":"/api-reference/webhooks/create-a-webhook"},{"openapi":"get /webhooks/{id}","title":"Get a webhook","href":"/api-reference/webhooks/get-a-webhook"},{"openapi":"put /webhooks/{id}","title":"Update a webhook","href":"/api-reference/webhooks/update-a-webhook"},{"openapi":"delete /webhooks/{id}","title":"Delete a webhook","href":"/api-reference/webhooks/delete-a-webhook"},{"openapi":"get /webhook-secret","title":"Get the webhook signing secret","href":"/api-reference/webhooks/get-signing-secret"},{"group":"Events","pages":[{"title":"Author blocked","openapi":"https://api.moderationapi.com/v1/openapi.json webhook author.blocked","href":"/api-reference/webhooks/author-blocked"},{"title":"Author unblocked","openapi":"https://api.moderationapi.com/v1/openapi.json webhook author.unblocked","href":"/api-reference/webhooks/author-unblocked"},{"title":"Author suspended","openapi":"https://api.moderationapi.com/v1/openapi.json webhook author.suspended","href":"/api-reference/webhooks/author-suspended"},{"title":"Author updated","openapi":"https://api.moderationapi.com/v1/openapi.json webhook author.updated","href":"/api-reference/webhooks/author-updated"},{"title":"Author trust level changed","openapi":"https://api.moderationapi.com/v1/openapi.json webhook author.trust_level_changed","href":"/api-reference/webhooks/author-trust-level-changed"},{"title":"Author action","openapi":"https://api.moderationapi.com/v1/openapi.json webhook author.action","href":"/api-reference/webhooks/author-action"},{"title":"Queue item resolved","openapi":"https://api.moderationapi.com/v1/openapi.json webhook queue_item.resolved","href":"/api-reference/webhooks/queue-item-resolved"},{"title":"Queue item action","openapi":"https://api.moderationapi.com/v1/openapi.json webhook queue_item.action","href":"/api-reference/webhooks/queue-item-action"},{"title":"Queue item rejected","openapi":"https://api.moderationapi.com/v1/openapi.json webhook queue_item.rejected","href":"/api-reference/webhooks/queue-item-rejected"},{"title":"Queue item allowed","openapi":"https://api.moderationapi.com/v1/openapi.json webhook queue_item.allowed","href":"/api-reference/webhooks/queue-item-allowed"}]}]},{"group":"Analytics","pages":[{"openapi":"get /analytics/summary","title":"Get the analytics summary","href":"/api-reference/analytics/summary"},{"openapi":"get /analytics/policies","title":"Get the most flagged policies","href":"/api-reference/analytics/policies"},{"openapi":"get /analytics/authors","title":"Get the most flagged authors","href":"/api-reference/analytics/authors"},{"openapi":"get /analytics/channels","title":"Get analytics per channel","href":"/api-reference/analytics/channels"},{"openapi":"get /analytics/volumes","title":"Get volumes over time","href":"/api-reference/analytics/volumes"},{"openapi":"get /analytics/automation","title":"Get the automation breakdown","href":"/api-reference/analytics/automation"}]},{"group":"Feedback","pages":[{"openapi":"post /feedback","title":"Send feedback","href":"/api-reference/feedback/send-feedback"}]}]},{"dropdown":"Changelog","icon":"list","href":"https://product.moderationapi.com/changelog"},{"dropdown":"Email support","icon":{"style":"solid","name":"envelope"},"href":"mailto:support@moderationapi.com"}]},"basePath":"","title":"Get a queue - Moderation API","buildId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","deploymentId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DX1Meug0.js","utils-B_OMIQVC.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-ChxhRPMa.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CuKvD8Iv.js","snippetPresets-C5d7p2hp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CfHcE8m4.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C1zZV314.js","shallow-CmQhqCJn.js","getApiPlaygroundDisplay-YRo9s1O7.js","CodeSnippet-RN1MTdfk.js","CodeSnippets-DKLPHxJA.js","Page-BAvA99GL.js","getPastedJson-bz0M41mU.js","icon-CsmhpPrv.js","MethodPill-CNGsVE77.js","DuplicateIcon-DilfU_Z2.js","createIcon-BdsYzQck.js","DynamicMarkdown-CbqEDjbV.js","SectionHeading-O6hXpFCN.js","axios-vUo_bRtp.js","Markdown-nKm-uidQ.js","clsx-ClVdStUn.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CIQkMg3R.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-ImrFS4Fy.js"]}