The next step is to get your API key and account ID, which are needed to make calls to the Scale GP API
and to create, modify resources in the right place.First navigate to the SGP Admin and grab your API key.
If you do not have an account provisioned by your organization or Scale, please contact the relevant System
administrator.
or via the UI by clicking on the “API Keys” tab in the admin dashboard.
Next, switch to Accounts and find the account ID for the
account that you want to work with. You can also create a new account. Make sure to copy this ID to use it when
testing your setup.
If you have an existing account but want to add Users to it, you can click into the account and add users.
You can also change the role of a user by clicking on the user and changing the role.
You can also remove a user by clicking on the remove button in the actions column.
For security and convenience when using the SDK, it’s recommended to store your API key and account ID as environment variables. This prevents accidentally exposing your credentials in code repositories.
set SGP_API_KEY=your-api-key-hereset SGP_ACCOUNT_ID=your-account-id-here
The SDK will automatically use the SGP_API_KEY and SGP_ACCOUNT_ID environment variables if they are set. Otherwise, you can pass them to the SGPClient constructor.
The SGPClient constructor accepts the following parameters:
Parameter
Description
Default
account_id
Your SGP account ID. Found in the Accounts tab of the admin dashboard.
SGP_ACCOUNT_ID environment variable
api_key
Your SGP API key. Found in the API Keys tab of the admin dashboard.
SGP_API_KEY environment variable
environment
The SGP environment to connect to. Possible values:production-multitenant, staging, development, local.
production-multitenant
base_url
Override the base URL with a custom endpoint. Takes precedence over environment.
None
To make the environment variables persist across sessions, add the export commands to your shell configuration file (e.g., ~/.bashrc, ~/.zshrc, or ~/.bash_profile).
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Scale AI","colors":{"primary":"#3f2e7b","light":"#ca62ff","dark":"#3f2e7b"},"logo":{"light":"https://mintcdn.com/scalegp/TBmst1qiYXwYqUB5/logo/light.png?fit=max\u0026auto=format\u0026n=TBmst1qiYXwYqUB5\u0026q=85\u0026s=46027042c16b373ac463148db5ad1d6b","dark":"https://mintcdn.com/scalegp/TBmst1qiYXwYqUB5/logo/dark.png?fit=max\u0026auto=format\u0026n=TBmst1qiYXwYqUB5\u0026q=85\u0026s=02733f39d684d796ec742853eabf0de5"},"favicon":"https://mintcdn.com/scalegp/1vQnbXFkjbQbcgd1/favicon.png?fit=max\u0026auto=format\u0026n=1vQnbXFkjbQbcgd1\u0026q=85\u0026s=f52c84ba46a7cca58551673616dabe9c","background":{"decoration":"windows"},"navbar":{"links":[],"primary":{"type":"button","label":"Platform","href":"https://app.sgp.scale.com/"}},"footer":{"socials":{"x":"https://x.com/scale_ai","facebook":"https://www.facebook.com/scaleapi","linkedin":"https://www.linkedin.com/company/scaleai"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"scalegp","hasAudioNarration":false,"actualSubdomain":"scalegp","customDomains":["docs.gp.scale.com"],"gitSource":{"type":"github","owner":"scaleapi","repo":"sgp-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6abeb90f3a8b8379c1eaf648","collectionId":"437f531c-55bf-41b5-8f5d-4e63781df61e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6abeb90f3a8b8379c1eaf648"},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6abeb90f3a8b8379c1eaf648","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"API Reference","count":235},{"language":"default","tag":"AgentOps API","count":141},{"language":"default","tag":"Guides","count":131},{"language":"default","tag":"Agentex API","count":94},{"language":"default","tag":"Evaluations","count":72},{"language":"default","tag":"Dex API","count":48},{"language":"default","tag":"Agents","count":41},{"language":"default","tag":"Evaluation Datasets","count":34},{"language":"default","tag":"Models","count":32},{"language":"default","tag":"Knowledge Bases","count":31}]},"assistantConfig":{},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"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":"pause-universal-search-reconcile","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":"per-site-search-delta","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":"editor-private-page-search","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":"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":"byok-sep-25","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":"billing-updated-9-15","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":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"@font-face{font-family:'Aeonik';src:url(https://fonts.gstatic.com/s/inter/v18/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2);font-weight:400;font-style:normal;font-display:swap}h1,h2,h3{font-family:'aeonik';letter-spacing:normal!important}"}],"page":{"pagePath":"docs/v5/authentication","slug":"/docs/v5/authentication","pageMetadata":{"title":"Authentication","description":null,"href":"/docs/v5/authentication"},"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`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Frame,Heading,OptimizedImage,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`The next step is to get your API key and account ID, which are needed to make calls to the Scale GP API\nand to create, modify resources in the right place.`}),`\n`,_jsxs(_components.p,{children:[`First navigate to the `,_jsx(_components.a,{href:`https://app.sgp.scale.com/admin/api-key`,children:`SGP Admin`}),` and grab your API key.\nIf you do not have an account provisioned by your organization or Scale, please contact the relevant System\nadministrator.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://files.readme.io/9a66e81-image.png`,alt:`Switch to Accounts and find the account ID.`})}),`\n`,_jsx(_components.p,{children:`or via the UI by clicking on the “API Keys” tab in the admin dashboard.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/api_key_menu.png?fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=941446577ec194247ac2afdfd0aa607f`,alt:`API Key menu`,\"data-og-width\":`3048`,width:`3048`,\"data-og-height\":`1002`,height:`1002`,\"data-path\":`images/api_key_menu.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/api_key_menu.png?w=280\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=181bf78e101a1b99f772d66913c3c674 280w, https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/api_key_menu.png?w=560\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=6be59ffe15bc64a5a1fac2a0063aef67 560w, https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/api_key_menu.png?w=840\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=8740c45e8471c4e3bb6cf6f566854423 840w, https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/api_key_menu.png?w=1100\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=05546298c895f37422a3591d86e8236e 1100w, https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/api_key_menu.png?w=1650\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=4e397ac2ad37c8407cf1447b64f7f7d8 1650w, https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/api_key_menu.png?w=2500\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=43ed4694874f032019f528c88a756655 2500w`})}),`\n`,_jsxs(_components.p,{children:[`Next, switch to `,_jsx(_components.a,{href:`https://app.sgp.scale.com/admin/accounts`,children:`Accounts`}),` and find the account ID for the\naccount that you want to work with. You can also create a new account. Make sure to copy this ID to use it when\ntesting your setup.`]}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/account_view.png?fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=9c7bccfd455da56a9af090ae3f5b22be`,alt:`You can also create a new account.`,\"data-og-width\":`2728`,width:`2728`,\"data-og-height\":`958`,height:`958`,\"data-path\":`images/account_view.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/account_view.png?w=280\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=46014efd4738c9e67be21c52a3c4cd74 280w, https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/account_view.png?w=560\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=8ab30be6c4142cb02febec5017900b2c 560w, https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/account_view.png?w=840\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=b187a6e5f12189b1e2fb62b14297f113 840w, https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/account_view.png?w=1100\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=1f9694fc52d66b30bda3f1670e227628 1100w, https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/account_view.png?w=1650\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=4a03dceaafbdb2f28e5c8c6f2f491838 1650w, https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/account_view.png?w=2500\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=32de9f8701e48ec1da91b90a4f312eb2 2500w`})}),`\n`,_jsx(_components.p,{children:`If you have an existing account but want to add Users to it, you can click into the account and add users.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/add_users.png?fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=95894946d54876ed70efa96a18b05610`,alt:`Click into the account to add users.`,\"data-og-width\":`3324`,width:`3324`,\"data-og-height\":`1346`,height:`1346`,\"data-path\":`images/add_users.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/add_users.png?w=280\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=de3c66a4cd50732759e08390d267c028 280w, https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/add_users.png?w=560\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=1c5fe11e2509b7f7d01d013c77e179e1 560w, https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/add_users.png?w=840\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=85dee5a2965f5bd3fe6359c57a76dc21 840w, https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/add_users.png?w=1100\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=64c37c0a8eaecd89b6d205536f9d876b 1100w, https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/add_users.png?w=1650\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=73d61872e88784c0d1fdc5242a3589ee 1650w, https://mintcdn.com/scalegp/LGE2JNGqt--hko9O/images/add_users.png?w=2500\u0026fit=max\u0026auto=format\u0026n=LGE2JNGqt--hko9O\u0026q=85\u0026s=f4c053d93fd8d27515c944ca373409db 2500w`})}),`\n`,_jsx(_components.p,{children:`You can also change the role of a user by clicking on the user and changing the role.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/scalegp/nt7p86_IWue4gDMA/images/change_role.png?fit=max\u0026auto=format\u0026n=nt7p86_IWue4gDMA\u0026q=85\u0026s=deba05c0c3e2343165d67396db959ec3`,alt:`Change the role of a user.`,\"data-og-width\":`2846`,width:`2846`,\"data-og-height\":`806`,height:`806`,\"data-path\":`images/change_role.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/scalegp/nt7p86_IWue4gDMA/images/change_role.png?w=280\u0026fit=max\u0026auto=format\u0026n=nt7p86_IWue4gDMA\u0026q=85\u0026s=1e21c52d7ad15ba440ab83d844b83e1d 280w, https://mintcdn.com/scalegp/nt7p86_IWue4gDMA/images/change_role.png?w=560\u0026fit=max\u0026auto=format\u0026n=nt7p86_IWue4gDMA\u0026q=85\u0026s=2fd7534c7ce000eb32097461c54a7b79 560w, https://mintcdn.com/scalegp/nt7p86_IWue4gDMA/images/change_role.png?w=840\u0026fit=max\u0026auto=format\u0026n=nt7p86_IWue4gDMA\u0026q=85\u0026s=210934b169d1716178b63630d40dc4c2 840w, https://mintcdn.com/scalegp/nt7p86_IWue4gDMA/images/change_role.png?w=1100\u0026fit=max\u0026auto=format\u0026n=nt7p86_IWue4gDMA\u0026q=85\u0026s=dce08d7a49214853bcb0c856aea2dc18 1100w, https://mintcdn.com/scalegp/nt7p86_IWue4gDMA/images/change_role.png?w=1650\u0026fit=max\u0026auto=format\u0026n=nt7p86_IWue4gDMA\u0026q=85\u0026s=c0799bc8d12853277b04a88af7f5c529 1650w, https://mintcdn.com/scalegp/nt7p86_IWue4gDMA/images/change_role.png?w=2500\u0026fit=max\u0026auto=format\u0026n=nt7p86_IWue4gDMA\u0026q=85\u0026s=6a56958f9ce3ff73b084d6584638c335 2500w`})}),`\n`,_jsx(_components.p,{children:`You can also remove a user by clicking on the remove button in the actions column.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/scalegp/9TXIMOtQYrZn6pT_/images/remove_user.png?fit=max\u0026auto=format\u0026n=9TXIMOtQYrZn6pT_\u0026q=85\u0026s=44d39e249da15ed3b36df93211bcdb3e`,alt:`Remove a user.`,\"data-og-width\":`2720`,width:`2720`,\"data-og-height\":`778`,height:`778`,\"data-path\":`images/remove_user.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/scalegp/9TXIMOtQYrZn6pT_/images/remove_user.png?w=280\u0026fit=max\u0026auto=format\u0026n=9TXIMOtQYrZn6pT_\u0026q=85\u0026s=ad1dcb392280d1e337d83ddc09feb6f6 280w, https://mintcdn.com/scalegp/9TXIMOtQYrZn6pT_/images/remove_user.png?w=560\u0026fit=max\u0026auto=format\u0026n=9TXIMOtQYrZn6pT_\u0026q=85\u0026s=106072d9e45326dee00b50775bea2a36 560w, https://mintcdn.com/scalegp/9TXIMOtQYrZn6pT_/images/remove_user.png?w=840\u0026fit=max\u0026auto=format\u0026n=9TXIMOtQYrZn6pT_\u0026q=85\u0026s=42635a1a46b96011988bced7fd5f9eb0 840w, https://mintcdn.com/scalegp/9TXIMOtQYrZn6pT_/images/remove_user.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9TXIMOtQYrZn6pT_\u0026q=85\u0026s=cce856f1801a6501fb4c2a309faed736 1100w, https://mintcdn.com/scalegp/9TXIMOtQYrZn6pT_/images/remove_user.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9TXIMOtQYrZn6pT_\u0026q=85\u0026s=5b14d004254cda5fc43c2f0961c2d905 1650w, https://mintcdn.com/scalegp/9TXIMOtQYrZn6pT_/images/remove_user.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9TXIMOtQYrZn6pT_\u0026q=85\u0026s=f062b42183c049d2e62772f618e2f6f5 2500w`})}),`\n`,_jsx(Heading,{level:`2`,id:`storing-your-credentials`,children:`Storing Your Credentials`}),`\n`,_jsx(_components.p,{children:`For security and convenience when using the SDK, it’s recommended to store your API key and account ID as environment variables. This prevents accidentally exposing your credentials in code repositories.`}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`macOS/Linux`,numberOfLines:`2`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` SGP_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-api-key-here\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`export`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` SGP_ACCOUNT_ID`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-account-id-here\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Windows (PowerShell)`,numberOfLines:`2`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`SGP_API_KEY`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-api-key-here\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`$env`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`SGP_ACCOUNT_ID`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-account-id-here\"`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Windows (CMD)`,numberOfLines:`2`,language:`shellscript`,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:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`set`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` SGP_API_KEY=your-api-key-here`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`set`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` SGP_ACCOUNT_ID=your-account-id-here`})]}),`\n`]})})})]}),`\n`,_jsxs(_components.p,{children:[`The SDK will automatically use the `,_jsx(_components.code,{children:`SGP_API_KEY`}),` and `,_jsx(_components.code,{children:`SGP_ACCOUNT_ID`}),` environment variables if they are set. Otherwise, you can pass them to the `,_jsx(_components.code,{children:`SGPClient`}),` constructor.`]}),`\n`,_jsx(CodeBlock,{filename:`Python`,numberOfLines:`7`,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:`7`,children:[_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:` os`})]}),`\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:` scale_gp_beta `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` SGPClient`})]}),`\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:` SGPClient(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` account_id`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-account-id\"`}),_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:` api_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"your-api-key\"`}),_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`]})})}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.code,{children:`SGPClient`}),` constructor accepts the following parameters:`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Default`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`account_id`})}),_jsxs(_components.td,{children:[`Your SGP account ID. Found in the `,_jsx(_components.a,{href:`https://app.sgp.scale.com/admin/accounts`,children:`Accounts`}),` tab of the admin dashboard.`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`SGP_ACCOUNT_ID`}),` environment variable`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`api_key`})}),_jsxs(_components.td,{children:[`Your SGP API key. Found in the `,_jsx(_components.a,{href:`https://app.sgp.scale.com/admin/api-key`,children:`API Keys`}),` tab of the admin dashboard.`]}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`SGP_API_KEY`}),` environment variable`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`environment`})}),_jsxs(_components.td,{children:[`The SGP environment to connect to. `,_jsx(_components.strong,{children:`Possible values:`}),` `,_jsx(_components.code,{children:`production-multitenant`}),`, `,_jsx(_components.code,{children:`staging`}),`, `,_jsx(_components.code,{children:`development`}),`, `,_jsx(_components.code,{children:`local`}),`.`]}),_jsx(_components.td,{children:_jsx(_components.code,{children:`production-multitenant`})})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`base_url`})}),_jsxs(_components.td,{children:[`Override the base URL with a custom endpoint. Takes precedence over `,_jsx(_components.code,{children:`environment`}),`.`]}),_jsx(_components.td,{children:`None`})]})]})]}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`To make the environment variables persist across sessions, add the export commands to your shell configuration file (e.g., `,_jsx(_components.code,{children:`~/.bashrc`}),`, `,_jsx(_components.code,{children:`~/.zshrc`}),`, or `,_jsx(_components.code,{children:`~/.bash_profile`}),`).`]})})]})}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":"Authentication","description":null,"href":"/docs/v5/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Storing Your Credentials","slug":"storing-your-credentials","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"scalegp","siteName":"Scale AI","title":"Authentication - Scale AI","navMaps":{"firstHrefInVersion":{"V5":{"href":"/docs/v5/authentication","matchLevel":0},"V4 (legacy)":{"href":"/docs/authentication","matchLevel":1}},"firstHrefInLanguage":{}},"lastModified":"2026-09-28T19:56:38.635Z","originalFileLocation":"docs/v5/authentication.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=\"application-name\" content=\"Scale AI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/UksUEh3sxckFW0X-/_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/scalegp/UksUEh3sxckFW0X-/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/scalegp/UksUEh3sxckFW0X-/_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/scalegp/UksUEh3sxckFW0X-/_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/scalegp/UksUEh3sxckFW0X-/_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/scalegp/UksUEh3sxckFW0X-/_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/scalegp/UksUEh3sxckFW0X-/_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/scalegp/UksUEh3sxckFW0X-/_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/scalegp/UksUEh3sxckFW0X-/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - Scale AI\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Scale AI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.gp.scale.com/docs/v5/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://scalegp.mintlify.app/_mintlify/api/og/v2?division=Getting+Started\u0026amp;title=Authentication\u0026amp;theme=b7e87dd2f9a2a23155199f59\u0026amp;signature=0401128780c1e3d75657b96f97fc99f2bf00136935ba8cfa8c8e7aa933bf5860\">\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=\"Authentication - Scale AI\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://scalegp.mintlify.app/_mintlify/api/og/v2?division=Getting+Started\u0026amp;title=Authentication\u0026amp;theme=b7e87dd2f9a2a23155199f59\u0026amp;signature=0401128780c1e3d75657b96f97fc99f2bf00136935ba8cfa8c8e7aa933bf5860\">\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/scalegp/UksUEh3sxckFW0X-/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Scale AI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3f2e7b\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.gp.scale.com/docs/v5/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/v5/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.gp.scale.com/#organization\",\"name\":\"Scale AI\",\"url\":\"https://docs.gp.scale.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/scalegp/TBmst1qiYXwYqUB5/logo/light.png?fit=max\u0026auto=format\u0026n=TBmst1qiYXwYqUB5\u0026q=85\u0026s=46027042c16b373ac463148db5ad1d6b\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.gp.scale.com#website\",\"name\":\"Scale AI\",\"url\":\"https://docs.gp.scale.com\",\"publisher\":{\"@id\":\"https://docs.gp.scale.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.gp.scale.com/docs/v5/authentication#webpage\",\"url\":\"https://docs.gp.scale.com/docs/v5/authentication\",\"name\":\"Authentication\",\"dateModified\":\"2026-09-28T19:56:38.635Z\",\"isPartOf\":{\"@id\":\"https://docs.gp.scale.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.gp.scale.com/docs/v5/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.gp.scale.com/docs/v5/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Scale AI\",\"item\":\"https://docs.gp.scale.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.gp.scale.com/docs/v5/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.gp.scale.com/docs/v5/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"url\":\"https://docs.gp.scale.com/docs/v5/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.gp.scale.com/docs/v5/authentication#webpage\"},\"dateModified\":\"2026-09-28T19:56:38.635Z\",\"publisher\":{\"@id\":\"https://docs.gp.scale.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.gp.scale.com#website\"}}]}\u003c/script>","siteName":"Scale AI","nav":{"global":null,"versions":[{"version":"V5","tabs":[{"tab":"Guides","groups":[{"group":"Overview","pages":[{"title":"SGP Overview","description":"Overview of SGP","href":"/docs/v5/overview"}]},{"group":"Getting Started","pages":[{"title":"Authentication","href":"/docs/v5/authentication"},{"title":"Quick Start - AgentOps SDK","description":"Getting started with the ScaleGP AgentOps SDK","href":"/docs/v5/next-gen-evaluation/getting-started"}]},{"group":"Infrastructure","pages":[{"group":"AWS Infrastructure","pages":[{"title":"AWS SGP Deployment","href":"/docs/infrastructure/aws/aws-sgp-deployment"},{"title":"AWS Architecture Reference","href":"/docs/infrastructure/aws/aws-architecture-reference"}]},{"group":"Azure Infrastructure","pages":[{"title":"Azure SGP Deployment","href":"/docs/infrastructure/azure/azure-sgp-deployment"},{"title":"Azure Architecture Reference","href":"/docs/infrastructure/azure/azure-architecture-reference"}]},{"group":"GCP Infrastructure","pages":[{"title":"GCP SGP Deployment","href":"/docs/infrastructure/gcp/gcp-sgp-deployment"},{"title":"GCP Architecture Reference","href":"/docs/infrastructure/gcp/gcp-architecture-reference"}]},{"title":"System Manager","href":"/docs/infrastructure/system-manager"}]},{"group":"Evaluations","pages":[{"title":"Introduction to Next Gen Evals","href":"/docs/v5/next-gen-evaluation/overview"},{"group":"Task Types","pages":[{"title":"Auto Evaluation","href":"/docs/v5/next-gen-evaluation/tasks/auto-evaluation"},{"title":"Agent Evaluation","href":"/docs/v5/next-gen-evaluation/tasks/agent-evaluation"},{"title":"Agentex Evaluation","href":"/docs/v5/next-gen-evaluation/tasks/agentex-evaluation"},{"title":"Contributor Evaluation","href":"/docs/v5/next-gen-evaluation/tasks/contributor-evaluation"},{"title":"Custom Function Evaluation","href":"/docs/v5/next-gen-evaluation/tasks/custom-function"}]},{"group":"Evaluations in the UI","pages":[{"title":"LLM as a Judge","href":"/docs/v5/next-gen-evaluation/ui-evaluations/auto-evaluation"},{"title":"Agent as a Judge","href":"/docs/v5/next-gen-evaluation/ui-evaluations/agent-evaluation"},{"title":"Agentex Agent Output","href":"/docs/v5/next-gen-evaluation/ui-evaluations/agentex-evaluation"},{"title":"Contributor Evaluation","href":"/docs/v5/next-gen-evaluation/ui-evaluations/contributor-evaluation"}]},{"title":"Conditional Rubrics","href":"/docs/v5/next-gen-evaluation/conditional-rubrics"},{"title":"Voice Evaluations","href":"/docs/v5/next-gen-evaluation/voice-evaluations"},{"group":"Completing Contributor Evaluations","pages":[{"title":"Managing Contributor Evaluations","href":"/docs/v5/next-gen-evaluation/labeling-evaluations/managing-contributor-evaluations"},{"title":"Labeling Evaluations","href":"/docs/v5/next-gen-evaluation/labeling-evaluations/labeling-evaluations"},{"title":"Auditing Evaluations","href":"/docs/v5/next-gen-evaluation/labeling-evaluations/auditing-evaluations"},{"title":"Contributor and Auditor Metrics","href":"/docs/v5/next-gen-evaluation/labeling-evaluations/contributor-auditor-metrics"}]}]},{"group":"Evaluation Dashboards","pages":[{"title":"Introduction to Evaluation Dashboards","href":"/docs/v5/evaluation-dashboards/overview"},{"title":"Getting Started with Dashboards","href":"/docs/v5/evaluation-dashboards/getting-started"},{"group":"Evaluation Groups","pages":[{"title":"Evaluation Group Dashboards","href":"/docs/v5/evaluation-dashboards/eval-group-dashboards"},{"title":"Latest Snapshots","href":"/docs/v5/evaluation-dashboards/eval-group-latest-snapshots"}]},{"group":"Widget Types","pages":[{"title":"Widget Types Overview","href":"/docs/v5/evaluation-dashboards/widget-types/overview"},{"title":"Metric Widget","href":"/docs/v5/evaluation-dashboards/widget-types/metric"},{"title":"Table Widget","href":"/docs/v5/evaluation-dashboards/widget-types/table"},{"title":"Bar Chart Widget","href":"/docs/v5/evaluation-dashboards/widget-types/bar"},{"title":"Histogram Widget","href":"/docs/v5/evaluation-dashboards/widget-types/histogram"},{"title":"Donut Chart Widget","href":"/docs/v5/evaluation-dashboards/widget-types/donut"},{"title":"Scatter Plot Widget","href":"/docs/v5/evaluation-dashboards/widget-types/scatter"},{"title":"Timeseries Widget","href":"/docs/v5/evaluation-dashboards/widget-types/timeseries"},{"title":"Markdown Widget","href":"/docs/v5/evaluation-dashboards/widget-types/markdown"},{"title":"Heading Widget","href":"/docs/v5/evaluation-dashboards/widget-types/heading"}]},{"title":"Query Language Reference","href":"/docs/v5/evaluation-dashboards/query-language"}]},{"group":"Tracing","pages":[{"title":"Introduction to Tracing","href":"/docs/v5/tracing/overview"},{"group":"Tracing SDK (Python)","pages":[{"title":"Initialization","href":"/docs/v5/tracing/sdk/initialization"},{"title":"Creating Traces and Spans","href":"/docs/v5/tracing/sdk/creating-traces-spans"},{"title":"Helper Methods","href":"/docs/v5/tracing/sdk/helper-methods"},{"title":"Flushing Tracing Data","href":"/docs/v5/tracing/sdk/flushing-data"},{"title":"Configuration Options","href":"/docs/v5/tracing/sdk/configuration-options"},{"title":"Distributed Tracing","href":"/docs/v5/tracing/sdk/multi-process"}]},{"group":"Integrations","pages":[{"group":"Agentex","pages":[{"title":"Agentex Tracing Overview","href":"/docs/v5/tracing/integrations/agentex/overview"},{"title":"Built-in Tracing Providers","href":"/docs/v5/tracing/integrations/agentex/built-in-providers"},{"title":"Span Hierarchy \u0026 Best Practices","href":"/docs/v5/tracing/integrations/agentex/span-hierarchy"},{"title":"Multi-Agent Tracing","href":"/docs/v5/tracing/integrations/agentex/multi-agent-tracing"}]},{"title":"OpenAI Agents Integration","href":"/docs/v5/tracing/integrations/openai-agents"},{"title":"OpenTelemetry Integration","href":"/docs/v5/tracing/integrations/opentelemetry"},{"title":"Temporal Integration","href":"/docs/v5/tracing/integrations/temporal"}]},{"group":"Tracing in the UI","pages":[{"title":"Traces","href":"/docs/v5/tracing/tracing-ui/traces-table"},{"title":"Profiler","href":"/docs/v5/tracing/tracing-ui/profiler"},{"title":"Trace Detail View","href":"/docs/v5/tracing/tracing-ui/trace-detail-view"}]}]},{"group":"Agents","pages":[{"title":"Introduction to Agents","href":"/docs/v5/agents/overview"},{"group":"Agentex","pages":[{"title":"Introduction to Agentex","href":"/docs/v5/agents/agentex/overview"},{"title":"Agentex CI/CD","href":"/docs/v5/agents/agentex/agentex-monitoring"},{"group":"Cloud Build and Deploy","pages":[{"title":"Cloud Build and Deploy","href":"/docs/v5/agents/agentex/cloud-build-and-deploy/overview"},{"title":"UI Walkthrough","href":"/docs/v5/agents/agentex/cloud-build-and-deploy/ui-walkthrough"},{"title":"CI/CD with Gitea Actions","href":"/docs/v5/agents/agentex/cloud-build-and-deploy/ci-cd"},{"title":"sgpctl CLI","href":"/docs/v5/agents/agentex/cloud-build-and-deploy/sgpctl"},{"title":"API and SDK","href":"/docs/v5/agents/agentex/cloud-build-and-deploy/api"},{"title":"Secrets","href":"/docs/v5/agents/agentex/cloud-build-and-deploy/secrets"},{"title":"Preview Deployments","href":"/docs/v5/agents/agentex/cloud-build-and-deploy/preview-deployments"}]},{"group":"Agentex Types","pages":[{"title":"Sync Agent","href":"/docs/v5/agents/agentex/types/sync-agent"},{"title":"Agentic Agent","href":"/docs/v5/agents/agentex/types/agentic-agent"}]}]},{"group":"Agent Service","pages":[{"title":"Introduction to Agent Service","href":"/docs/v5/agents/agent-service/overview"},{"group":"Lifecycle","pages":[{"title":"Creating an Agent","href":"/docs/v5/agents/agent-service/lifecycle/creating-agent-service-agents"},{"title":"Deploying an Agent","href":"/docs/v5/agents/agent-service/lifecycle/deploying-agent-service-agents"},{"title":"Monitoring an Agent","href":"/docs/v5/agents/agent-service/lifecycle/monitoring-agent-service-agents"}]}]}]}]},{"tab":"AgentOps API","pages":[{"title":"AgentOps API","href":"/reference/v5/inference/run-inference-with-free-form-payload"}]},{"tab":"AgentOps SDK","href":"https://scaleapi.github.io/sgp-sdk-docs/api/python/"},{"tab":"Agentex API","pages":[{"title":"Agentex API","href":"/reference/agentex/agents/get-agent-by-id"}]},{"tab":"Agentex SDK","href":"https://scaleapi.github.io/agentex-sdk-docs/api/python/"},{"tab":"Capabilities","pages":[{"title":"Capabilities","href":"/docs/capabilities/overview"}]},{"tab":"Dex API","pages":[{"title":"Dex API","href":"/reference/dex/projects/list-projects"}]}]},{"version":"V4 (legacy)","pages":[{"title":"V4 (legacy)","href":"/docs/authentication"}]}]},"title":"Authentication - Scale AI","buildId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","deploymentId":"dpl_EnxDqhjaNc9a8MVa833TGULPd9uJ","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-CIbhtp2j.js","DynamicMarkdown-CtpgKJwj.js","zoom-image-lightbox-CVZVK4hN.js","lightbox-handle-r17bVUz3.js"]}