We no longer recommend authoring rubrics by hand. The Docent plugin generates Reading steps inside an Analysis Plan for you. This SDK reference is kept for users with existing rubrics.
Rubrics define evaluation criteria for agent runs. A judge is an LLM configured to evaluate
runs against a rubric. See Rubrics and Judges for concepts.
Create a Rubric
from docent import Docentfrom docent.judges.types import Rubricclient = Docent()rubric = Rubric( rubric_text=""" Evaluate whether the agent successfully completed the user's request. Decision procedure: 1. Identify what the user asked for 2. Check if the agent's final response addresses the request 3. Verify the response is factually correct """, output_schema={ "type": "object", "properties": { "label": {"type": "string", "enum": ["pass", "fail"]}, "explanation": {"type": "string", "citations": True}, }, "required": ["label", "explanation"], },)rubric_id = client.create_rubric("my-collection-id", rubric)print(rubric_id)
Parameters
str
required
ID of the collection.
Rubric
required
The rubric configuration. Must have version=1 for new rubrics.
Show Rubric fields
str
required
The evaluation criteria and decision procedure. This is the core content
the judge uses to evaluate agent runs.
dict
JSON schema for the judge’s output. Default schema has label (enum: match/no match)
and explanation (string with citations) fields.
ModelOption
LLM model to use for judging. Uses the platform default if not specified.
int
default:"1"
Number of independent judge evaluations per agent run. Used with majority
voting or multi-reflection judge variants.
str
default:"majority"
Judge strategy: "majority" for majority voting, "multi-reflect" for
multi-stage reflection.
list[PromptTemplateMessage]
Custom prompt templates. Each has a role ("system", "user", "assistant")
and content string. The content can use {rubric}, {agent_run}, and
{output_schema} template variables.
str
default:"xml_key"
How to parse judge output: "xml_key" extracts from XML tags,
"constrained_decoding" parses entire output as JSON.
str
default:"response"
XML tag name for extracting output (when using xml_key parsing mode).
Literal["json", "yaml"]
default:"yaml"
Format the judge is instructed to emit and that the SDK parses. "yaml"
is the default for new rubrics; "json" is preserved for rubrics created
before this field existed.
Specific version number. If None, returns the latest version.
Returns
Rubric
The rubric configuration object.
List Rubrics
rubrics = client.list_rubrics("my-collection-id")for r in rubrics: print(f"{r['id']}: {r.get('rubric_text', '')[:80]}")
Parameters
str
required
ID of the collection.
Returns
list[dict]
List of rubric information dictionaries.
Get a Judge
Download a rubric configuration and create a callable judge instance. The judge reads
LLM provider API keys from environment variables (OPENAI_API_KEY, ANTHROPIC_API_KEY, etc.).
judge = client.get_judge("my-collection-id", rubric_id)# Inspect the configurationprint(judge.cfg.rubric_text)print(judge.cfg.judge_model)# Run locally (async)import asyncioasync def evaluate(): run = client.get_agent_run("my-collection-id", "run-id-123") result = await judge(run) print(result.output) # {"label": "pass", "explanation": "..."} print(result.result_type) # ResultType.DIRECT_RESULTasyncio.run(evaluate())
Parameters
str
required
ID of the collection.
str
required
ID of the rubric/judge to retrieve.
int | None
Specific version number. If None, returns the latest version.
Returns
BaseJudge
A callable judge instance. Use await judge(agent_run) to evaluate a run.
Show BaseJudge interface
Rubric
The underlying rubric configuration.
async -> JudgeResult
Evaluate an agent run. Returns a JudgeResult with output, result_type,
and result_metadata fields.
Running a judge locally requires the appropriate LLM provider API key set in your
environment (e.g., OPENAI_API_KEY, ANTHROPIC_API_KEY). The required provider
depends on the rubric’s judge_model configuration.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Docent","colors":{"primary":"#0f0f0f","light":"#6366f1","dark":"#4f46e5"},"logo":{"light":"https://mintcdn.com/transluce/QnByW4PX7qHJkjnV/images/docent_final_black.png?fit=max\u0026auto=format\u0026n=QnByW4PX7qHJkjnV\u0026q=85\u0026s=206d8793ba8b8266ad28d96bbd67d6ac","dark":"https://mintcdn.com/transluce/QnByW4PX7qHJkjnV/images/docent_final_white.png?fit=max\u0026auto=format\u0026n=QnByW4PX7qHJkjnV\u0026q=85\u0026s=b625ac7cf07a494751aa4421e2315dcf"},"favicon":"https://mintcdn.com/transluce/QnByW4PX7qHJkjnV/images/favicon.ico?fit=max\u0026auto=format\u0026n=QnByW4PX7qHJkjnV\u0026q=85\u0026s=209427e094d58a3c7975819950c5a886","navbar":{"links":[{"href":"https://transluce.org","label":"About Transluce"},{"href":"https://join.slack.com/t/docentcommunity/shared_invite/zt-39uln1o3q-DObXadOIKN_IGc73ZOjgnA","label":"Slack Community"}],"primary":{"type":"button","label":"Open Docent","href":"https://docent.transluce.org"}},"fonts":{"family":"Open Sans"},"integrations":{"posthog":{"apiKey":"phc_Xvh5cw8HEyhTOOnZWj3bT00NeCPXp2fswJzGvrR5d4w","apiHost":"https://b.transluce.org","sessionRecording":false}},"contextual":{"options":["copy"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"transluce","hasAudioNarration":false,"actualSubdomain":"transluce","customDomains":["docs.transluce.org"],"gitSource":{"type":"github","owner":"transluceai","repo":"docent-platform","deployBranch":"main","contentDirectory":"mint-docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af22aba47e198f0700fd8ca","clientVersion":"0.0.4344","searchFilterCounts":[{"language":"default","tag":"Documentation","count":28},{"language":"default","tag":"SDK Reference","count":19},{"language":"default","tag":"Data Models","count":7},{"language":"default","tag":"Ingestion","count":7},{"language":"default","tag":"Legacy","count":6},{"language":"default","tag":"Analysis Plans","count":5},{"language":"default","tag":"Guides","count":3},{"language":"default","tag":"Integrations","count":3},{"language":"default","tag":"Agent Runs","count":3},{"language":"default","tag":"Getting Started","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"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":"site-roles","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":"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":"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":"turbopuffer-dual-write","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":"editor-metadata","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},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"sdk/rubrics/manage","slug":"/sdk/rubrics/manage","pageMetadata":{"title":"Manage Rubrics","description":"Create, retrieve, and list rubrics and judges","href":"/sdk/rubrics/manage"},"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: \"Create, retrieve, and list rubrics and judges\"\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,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,hr:`hr`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock,Expandable,Heading,Note,ParamField,ResponseField}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[`We no longer recommend authoring rubrics by hand. The `,_jsx(_components.a,{href:`/installation`,children:`Docent plugin`}),` generates `,_jsx(_components.a,{href:`/analysis/reading-steps`,children:`Reading steps`}),` inside an `,_jsx(_components.a,{href:`/analysis/analysis-plans`,children:`Analysis Plan`}),` for you. This SDK reference is kept for users with existing rubrics.`]})}),`\n`,_jsxs(_components.p,{children:[`Rubrics define evaluation criteria for agent runs. A judge is an LLM configured to evaluate\nruns against a rubric. See `,_jsx(_components.a,{href:`/legacy/rubrics`,children:`Rubrics and Judges`}),` for concepts.`]}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-rubric`,children:`Create a Rubric`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`26`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`26`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` docent `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Docent`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` docent.judges.types `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Rubric`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Docent()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`rubric `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` Rubric(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` rubric_text`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"\"\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Evaluate whether the agent successfully completed the user's request.`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` Decision procedure:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 1. Identify what the user asked for`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 2. Check if the agent's final response addresses the request`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 3. Verify the response is factually correct`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"\"\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` output_schema`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"object\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"properties\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"enum\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pass\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"fail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"explanation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"citations\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`True`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"required\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"label\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"explanation\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`rubric_id `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.create_rubric(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-collection-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, rubric)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(rubric_id)`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`parameters`,children:`Parameters`}),`\n`,_jsx(ParamField,{body:`collection_id`,type:`str`,required:true,id:`param-collection-id`,children:_jsx(_components.p,{children:`ID of the collection.`})}),`\n`,_jsxs(ParamField,{body:`rubric`,type:`Rubric`,required:true,id:`param-rubric`,children:[_jsxs(_components.p,{children:[`The rubric configuration. Must have `,_jsx(_components.code,{children:`version=1`}),` for new rubrics.`]}),_jsxs(Expandable,{title:`Rubric fields`,children:[_jsx(ResponseField,{name:`rubric_text`,type:`str`,required:true,id:`param-rubric-text`,children:_jsx(_components.p,{children:`The evaluation criteria and decision procedure. This is the core content\nthe judge uses to evaluate agent runs.`})}),_jsx(ResponseField,{name:`output_schema`,type:`dict`,id:`param-output-schema`,children:_jsxs(_components.p,{children:[`JSON schema for the judge’s output. Default schema has `,_jsx(_components.code,{children:`label`}),` (enum: match/no match)\nand `,_jsx(_components.code,{children:`explanation`}),` (string with citations) fields.`]})}),_jsx(ResponseField,{name:`judge_model`,type:`ModelOption`,id:`param-judge-model`,children:_jsx(_components.p,{children:`LLM model to use for judging. Uses the platform default if not specified.`})}),_jsx(ResponseField,{name:`n_rollouts_per_input`,type:`int`,default:`1`,id:`param-n-rollouts-per-input`,children:_jsx(_components.p,{children:`Number of independent judge evaluations per agent run. Used with majority\nvoting or multi-reflection judge variants.`})}),_jsx(ResponseField,{name:`judge_variant`,type:`str`,default:`majority`,id:`param-judge-variant`,children:_jsxs(_components.p,{children:[`Judge strategy: `,_jsx(_components.code,{children:`\"majority\"`}),` for majority voting, `,_jsx(_components.code,{children:`\"multi-reflect\"`}),` for\nmulti-stage reflection.`]})}),_jsx(ResponseField,{name:`prompt_templates`,type:`list[PromptTemplateMessage]`,id:`param-prompt-templates`,children:_jsxs(_components.p,{children:[`Custom prompt templates. Each has a `,_jsx(_components.code,{children:`role`}),` (`,_jsx(_components.code,{children:`\"system\"`}),`, `,_jsx(_components.code,{children:`\"user\"`}),`, `,_jsx(_components.code,{children:`\"assistant\"`}),`)\nand `,_jsx(_components.code,{children:`content`}),` string. The content can use `,_jsx(_components.code,{children:`{rubric}`}),`, `,_jsx(_components.code,{children:`{agent_run}`}),`, and\n`,_jsx(_components.code,{children:`{output_schema}`}),` template variables.`]})}),_jsx(ResponseField,{name:`output_parsing_mode`,type:`str`,default:`xml_key`,id:`param-output-parsing-mode`,children:_jsxs(_components.p,{children:[`How to parse judge output: `,_jsx(_components.code,{children:`\"xml_key\"`}),` extracts from XML tags,\n`,_jsx(_components.code,{children:`\"constrained_decoding\"`}),` parses entire output as JSON.`]})}),_jsx(ResponseField,{name:`response_xml_key`,type:`str`,default:`response`,id:`param-response-xml-key`,children:_jsxs(_components.p,{children:[`XML tag name for extracting output (when using `,_jsx(_components.code,{children:`xml_key`}),` parsing mode).`]})}),_jsx(ResponseField,{name:`output_format`,type:`Literal[\"json\", \"yaml\"]`,default:`yaml`,id:`param-output-format`,children:_jsxs(_components.p,{children:[`Format the judge is instructed to emit and that the SDK parses. `,_jsx(_components.code,{children:`\"yaml\"`}),`\nis the default for new rubrics; `,_jsx(_components.code,{children:`\"json\"`}),` is preserved for rubrics created\nbefore this field existed.`]})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`returns`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`rubric_id`,type:`str`,id:`param-rubric-id`,children:_jsx(_components.p,{children:`The ID of the created rubric.`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`get-a-rubric`,children:`Get a Rubric`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`rubric `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.get_rubric(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-collection-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, rubric_id)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(rubric.rubric_text)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(rubric.output_schema)`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`parameters-2`,children:`Parameters`}),`\n`,_jsx(ParamField,{body:`collection_id`,type:`str`,required:true,id:`param-collection-id-1`,children:_jsx(_components.p,{children:`ID of the collection.`})}),`\n`,_jsx(ParamField,{body:`rubric_id`,type:`str`,required:true,id:`param-rubric-id-1`,children:_jsx(_components.p,{children:`ID of the rubric to retrieve.`})}),`\n`,_jsx(ParamField,{body:`version`,type:`int | None`,id:`param-version`,children:_jsxs(_components.p,{children:[`Specific version number. If `,_jsx(_components.code,{children:`None`}),`, returns the latest version.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`returns-2`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`rubric`,type:`Rubric`,id:`param-rubric-1`,children:_jsx(_components.p,{children:`The rubric configuration object.`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`list-rubrics`,children:`List Rubrics`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`3`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`rubrics `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.list_rubrics(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-collection-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` r `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` rubrics:`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`f`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`r[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'id'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`: `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`{`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`r.get(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'rubric_text'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`''`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)[:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`80`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`}`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`parameters-3`,children:`Parameters`}),`\n`,_jsx(ParamField,{body:`collection_id`,type:`str`,required:true,id:`param-collection-id-2`,children:_jsx(_components.p,{children:`ID of the collection.`})}),`\n`,_jsx(Heading,{level:`3`,id:`returns-3`,children:`Returns`}),`\n`,_jsx(ResponseField,{name:`rubrics`,type:`list[dict]`,id:`param-rubrics`,children:_jsx(_components.p,{children:`List of rubric information dictionaries.`})}),`\n`,_jsx(_components.hr,{}),`\n`,_jsx(Heading,{level:`2`,id:`get-a-judge`,children:`Get a Judge`}),`\n`,_jsxs(_components.p,{children:[`Download a rubric configuration and create a callable judge instance. The judge reads\nLLM provider API keys from environment variables (`,_jsx(_components.code,{children:`OPENAI_API_KEY`}),`, `,_jsx(_components.code,{children:`ANTHROPIC_API_KEY`}),`, etc.).`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`16`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`judge `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.get_judge(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-collection-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, rubric_id)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Inspect the configuration`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(judge.cfg.rubric_text)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(judge.cfg.judge_model)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# Run locally (async)`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` asyncio`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` def`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` evaluate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`():`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` run `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.get_agent_run(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-collection-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"run-id-123\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` result `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` judge(run)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(result.output) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# {\"label\": \"pass\", \"explanation\": \"...\"}`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:` print`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(result.result_type) `}),_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`# ResultType.DIRECT_RESULT`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`asyncio.run(evaluate())`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`parameters-4`,children:`Parameters`}),`\n`,_jsx(ParamField,{body:`collection_id`,type:`str`,required:true,id:`param-collection-id-3`,children:_jsx(_components.p,{children:`ID of the collection.`})}),`\n`,_jsx(ParamField,{body:`rubric_id`,type:`str`,required:true,id:`param-rubric-id-2`,children:_jsx(_components.p,{children:`ID of the rubric/judge to retrieve.`})}),`\n`,_jsx(ParamField,{body:`version`,type:`int | None`,id:`param-version-1`,children:_jsxs(_components.p,{children:[`Specific version number. If `,_jsx(_components.code,{children:`None`}),`, returns the latest version.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`returns-4`,children:`Returns`}),`\n`,_jsxs(ResponseField,{name:`judge`,type:`BaseJudge`,id:`param-judge`,children:[_jsxs(_components.p,{children:[`A callable judge instance. Use `,_jsx(_components.code,{children:`await judge(agent_run)`}),` to evaluate a run.`]}),_jsxs(Expandable,{title:`BaseJudge interface`,children:[_jsx(ResponseField,{name:`cfg`,type:`Rubric`,id:`param-cfg`,children:_jsx(_components.p,{children:`The underlying rubric configuration.`})}),_jsx(ResponseField,{name:`__call__(agent_run, *, temperature=1.0, max_new_tokens=16384, timeout=180.0)`,type:`async -> JudgeResult`,id:`param-call-agent-run-temperature-1-0-max-new-tokens-16384-timeout-180-0`,children:_jsxs(_components.p,{children:[`Evaluate an agent run. Returns a `,_jsx(_components.code,{children:`JudgeResult`}),` with `,_jsx(_components.code,{children:`output`}),`, `,_jsx(_components.code,{children:`result_type`}),`,\nand `,_jsx(_components.code,{children:`result_metadata`}),` fields.`]})})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Running a judge locally requires the appropriate LLM provider API key set in your\nenvironment (e.g., `,_jsx(_components.code,{children:`OPENAI_API_KEY`}),`, `,_jsx(_components.code,{children:`ANTHROPIC_API_KEY`}),`). The required provider\ndepends on the rubric’s `,_jsx(_components.code,{children:`judge_model`}),` configuration.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Manage Rubrics","description":"Create, retrieve, and list rubrics and judges","href":"/sdk/rubrics/manage"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Create a Rubric","slug":"create-a-rubric","depth":2,"children":[{"title":"Parameters","slug":"parameters","depth":3,"children":[]},{"title":"Returns","slug":"returns","depth":3,"children":[]}]},{"title":"Get a Rubric","slug":"get-a-rubric","depth":2,"children":[{"title":"Parameters","slug":"parameters-2","depth":3,"children":[]},{"title":"Returns","slug":"returns-2","depth":3,"children":[]}]},{"title":"List Rubrics","slug":"list-rubrics","depth":2,"children":[{"title":"Parameters","slug":"parameters-3","depth":3,"children":[]},{"title":"Returns","slug":"returns-3","depth":3,"children":[]}]},{"title":"Get a Judge","slug":"get-a-judge","depth":2,"children":[{"title":"Parameters","slug":"parameters-4","depth":3,"children":[]},{"title":"Returns","slug":"returns-4","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":[],"subdomain":"transluce","siteName":"Docent","title":"Manage Rubrics - Docent","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-06-14T02:25:40.289Z","originalFileLocation":"sdk/rubrics/manage.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=\"Create, retrieve, and list rubrics and judges\">\u003cmeta data-mint-head name=\"application-name\" content=\"Docent\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/transluce/k6WCamiKCDPPLdq5/_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/transluce/k6WCamiKCDPPLdq5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/transluce/k6WCamiKCDPPLdq5/_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/transluce/k6WCamiKCDPPLdq5/_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/transluce/k6WCamiKCDPPLdq5/_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/transluce/k6WCamiKCDPPLdq5/_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/transluce/k6WCamiKCDPPLdq5/_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/transluce/k6WCamiKCDPPLdq5/_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/transluce/k6WCamiKCDPPLdq5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Manage Rubrics - Docent\">\u003cmeta data-mint-head property=\"og:description\" content=\"Create, retrieve, and list rubrics and judges\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Docent\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.transluce.org/sdk/rubrics/manage\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://transluce.mintlify.site/_mintlify/api/og/v2?division=Legacy\u0026amp;title=Manage+Rubrics\u0026amp;description=Create%2C+retrieve%2C+and+list+rubrics+and+judges\u0026amp;theme=f7432b2f43ad2d99b0f048f9\u0026amp;signature=9c515e6a319fba822218a87d263d61b39c3c06c5bc851b30ba0205dc8ca4c086\">\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=\"Manage Rubrics - Docent\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Create, retrieve, and list rubrics and judges\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://transluce.mintlify.site/_mintlify/api/og/v2?division=Legacy\u0026amp;title=Manage+Rubrics\u0026amp;description=Create%2C+retrieve%2C+and+list+rubrics+and+judges\u0026amp;theme=f7432b2f43ad2d99b0f048f9\u0026amp;signature=9c515e6a319fba822218a87d263d61b39c3c06c5bc851b30ba0205dc8ca4c086\">\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/transluce/k6WCamiKCDPPLdq5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Docent\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0f0f0f\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.transluce.org/sdk/rubrics/manage\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/sdk/rubrics/manage.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.transluce.org/#organization\",\"name\":\"Docent\",\"url\":\"https://docs.transluce.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/transluce/QnByW4PX7qHJkjnV/images/docent_final_black.png?fit=max\u0026auto=format\u0026n=QnByW4PX7qHJkjnV\u0026q=85\u0026s=206d8793ba8b8266ad28d96bbd67d6ac\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.transluce.org#website\",\"name\":\"Docent\",\"url\":\"https://docs.transluce.org\",\"publisher\":{\"@id\":\"https://docs.transluce.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.transluce.org/sdk/rubrics/manage#webpage\",\"url\":\"https://docs.transluce.org/sdk/rubrics/manage\",\"name\":\"Manage Rubrics\",\"description\":\"Create, retrieve, and list rubrics and judges\",\"dateModified\":\"2026-06-14T02:25:40.289Z\",\"isPartOf\":{\"@id\":\"https://docs.transluce.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.transluce.org/sdk/rubrics/manage#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.transluce.org/sdk/rubrics/manage#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Docent\",\"item\":\"https://docs.transluce.org\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Manage Rubrics\",\"item\":\"https://docs.transluce.org/sdk/rubrics/manage\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.transluce.org/sdk/rubrics/manage#article\",\"headline\":\"Manage Rubrics\",\"name\":\"Manage Rubrics\",\"description\":\"Create, retrieve, and list rubrics and judges\",\"url\":\"https://docs.transluce.org/sdk/rubrics/manage\",\"mainEntityOfPage\":{\"@id\":\"https://docs.transluce.org/sdk/rubrics/manage#webpage\"},\"dateModified\":\"2026-06-14T02:25:40.289Z\",\"publisher\":{\"@id\":\"https://docs.transluce.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.transluce.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Docent\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Docent\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/sdk/rubrics/manage.md","siteName":"Docent","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"SDK Reference","groups":[{"group":"Getting Started","pages":[{"title":"SDK Overview","href":"/sdk/overview"},{"title":"Authentication","href":"/sdk/authentication"},{"title":"Client","href":"/sdk/client"}]},{"group":"Collections","pages":[{"title":"Manage Collections","href":"/sdk/collections/manage"},{"title":"Collection Metadata","href":"/sdk/collections/metadata"}]},{"group":"Organizations","pages":[{"title":"Organization administration","href":"/sdk/organizations"},{"title":"Permissions \u0026 Sharing","href":"/sdk/permissions"}]},{"group":"Agent Runs","pages":[{"title":"Query Agent Runs","href":"/sdk/agent-runs/query"},{"title":"Append to Agent Runs","href":"/sdk/agent-runs/append"},{"title":"Agent Run Metadata","href":"/sdk/agent-runs/metadata"}]},{"group":"DQL","pages":[{"title":"Execute DQL Queries","href":"/sdk/dql/execute"},{"title":"DQL Schema","href":"/sdk/dql/schema"}]},{"group":"Feedback \u0026 Labels","pages":[{"title":"Labels, General Labels, Tags \u0026 Comments","href":"/sdk/feedback/labels"}]},{"group":"More","pages":[{"title":"Ingestion Job Management","href":"/sdk/jobs"},{"title":"Browser Integration","href":"/sdk/ui"},{"title":"Error Handling","description":"Handle errors from the Docent SDK","href":"/sdk/errors"}]},{"group":"Legacy","pages":[{"title":"Manage Rubrics","href":"/sdk/rubrics/manage"},{"title":"Run Evaluations","description":"Start evaluation jobs and track their progress","href":"/sdk/rubrics/evaluate"},{"title":"Clustering","href":"/sdk/rubrics/clustering"}]}]}]},"basePath":"","title":"Manage Rubrics - Docent","deploymentId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","buildId":"dpl_EwfxjeKENdVkfzdag8rM6mKzcTUJ","dynamics":[],"chunks":[]}