Returns one security as a hydrated document: every optional field is present, as null or its default where unset, and there is no issuerName — nothing is resolved on this path, unlike a list row. Share figures are BSON extended JSON here too, with authorizedShares again the plain-string exception. An issuer_admin asking for another issuer’s security gets 404, not 403, the same way the issuer endpoint behaves: the service returns null on a scope mismatch, which the controller cannot tell apart from a missing record, and a 403 would confirm the security exists. Requires security:read.
Staff access token. Sent as Authorization: Bearer <token>, or — when that header is absent — read from the accessToken cookie, which is how the admin app authenticates. Tokens carry a tokenVersion; logout and password reset bump it, revoking every outstanding token for that account.
Path Parameters
id
string
required
Pattern: ^[a-f\d]{24}$
Response
The security.
Standard success envelope. The endpoint payload is in data.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Open Agent API","description":"Transfer agency API for digital securities, investor records and blockchain reconciliation.","colors":{"primary":"#4A6274","light":"#7F8B99","dark":"#3A4153"},"logo":{"light":"https://mintcdn.com/open-agent/_71EWBMN8sRMMt3Z/logo/light.png?fit=max\u0026auto=format\u0026n=_71EWBMN8sRMMt3Z\u0026q=85\u0026s=64c378585eddde163b0aed500aba3007","dark":"https://mintcdn.com/open-agent/_71EWBMN8sRMMt3Z/logo/dark.png?fit=max\u0026auto=format\u0026n=_71EWBMN8sRMMt3Z\u0026q=85\u0026s=c22cb396f026664c8edbdf84e15c02ff","href":"https://openagent.to"},"favicon":"https://mintcdn.com/open-agent/_71EWBMN8sRMMt3Z/logo/icon.png?fit=max\u0026auto=format\u0026n=_71EWBMN8sRMMt3Z\u0026q=85\u0026s=5af5eddabfd5c65c5c53fd59e840f6de","navbar":{"links":[{"href":"mailto:support@openagent.to","label":"Support"}],"primary":{"type":"button","label":"openagent.to","href":"https://openagent.to"}},"footer":{"socials":{"website":"https://openagent.to"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"open-agent","hasAudioNarration":false,"actualSubdomain":"open-agent","customDomains":["docs.openagent.to"],"gitSource":{"type":"github","owner":"pv-randd","repo":"open-agent-doc","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aba2d3866226d680ee73335","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"API reference","count":32},{"language":"default","tag":"Endpoints","count":31},{"language":"default","tag":"Transactions","count":6},{"language":"default","tag":"Documentation","count":4},{"language":"default","tag":"API Keys","count":4},{"language":"default","tag":"Apps","count":4},{"language":"default","tag":"Auth","count":4},{"language":"default","tag":"Reports","count":4},{"language":"default","tag":"Get started","count":3},{"language":"default","tag":"Investors","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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":false},"customCss":[]}
{"page":{"pagePath":"api-reference/securities/get-one-security","slug":"/api-reference/securities/get-one-security","pageMetadata":{"title":"Get one security","description":"Returns one security as a hydrated document: every optional field is present, as `null` or its default where unset, and there is **no `issuerName`** — nothing is resolved on this path, unlike a list row. Share figures are BSON extended JSON here too, with `authorizedShares` again the plain-string exception. **An `issuer_admin` asking for another issuer's security gets 404, not 403**, the same way the issuer endpoint behaves: the service returns null on a scope mismatch, which the controller cannot tell apart from a missing record, and a 403 would confirm the security exists. Requires `security:read`.\n","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/securities/{id}","href":"/api-reference/securities/get-one-security","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Returns one security as a hydrated document: every optional field is present, as \", _jsx(_components.code, {\n children: \"null\"\n }), \" or its default where unset, and there is \", _jsxs(_components.strong, {\n children: [\"no \", _jsx(_components.code, {\n children: \"issuerName\"\n })]\n }), \" — nothing is resolved on this path, unlike a list row. Share figures are BSON extended JSON here too, with \", _jsx(_components.code, {\n children: \"authorizedShares\"\n }), \" again the plain-string exception. \", _jsxs(_components.strong, {\n children: [\"An \", _jsx(_components.code, {\n children: \"issuer_admin\"\n }), \" asking for another issuer’s security gets 404, not 403\"]\n }), \", the same way the issuer endpoint behaves: the service returns null on a scope mismatch, which the controller cannot tell apart from a missing record, and a 403 would confirm the security exists. Requires \", _jsx(_components.code, {\n children: \"security:read\"\n }), \".\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Get one security","description":"Returns one security as a hydrated document: every optional field is present, as `null` or its default where unset, and there is **no `issuerName`** — nothing is resolved on this path, unlike a list row. Share figures are BSON extended JSON here too, with `authorizedShares` again the plain-string exception. **An `issuer_admin` asking for another issuer's security gets 404, not 403**, the same way the issuer endpoint behaves: the service returns null on a scope mismatch, which the controller cannot tell apart from a missing record, and a 403 would confirm the security exists. Requires `security:read`.\n","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/securities/{id}","href":"/api-reference/securities/get-one-security","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"description":"Returns one security as a hydrated document: every optional field is present, as `null` or its default where unset, and there is **no `issuerName`** — nothing is resolved on this path, unlike a list row. Share figures are BSON extended JSON here too, with `authorizedShares` again the plain-string exception. **An `issuer_admin` asking for another issuer's security gets 404, not 403**, the same way the issuer endpoint behaves: the service returns null on a scope mismatch, which the controller cannot tell apart from a missing record, and a 403 would confirm the security exists. Requires `security:read`.\n","operationId":"securityGetById","parameters":["a4dcb77c-b93e-4354-a9f1-9c3f75325587"],"responses":{"200":"29c76dd1-3b02-4375-af9b-8a366d6492d4","401":"3a624593-a956-433f-8605-992a7456e852","403":"80b4eff5-5980-4534-9110-13bfede1bd1d","404":"9e37b489-4cd7-4f0b-8b9b-c3d7bb667981","422":"1adc8a9f-797c-4b9b-9c15-be4f6e2cfd74","500":"0fc7dc9b-6fe9-40c6-973a-425873d9d4d2"},"security":["60e11125-954f-40ce-a8f4-c5ee5e60bd54"],"summary":"Get one security","tags":["Securities"],"x-publish":true,"method":"get","type":"path","servers":["f79bd8bd-10de-4fee-b222-94eacffc3cfd"],"path":"/api/v1/securities/{id}","baseUrlOptions":["https://api.openagent.to"],"title":"Get one security","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a4dcb77c-b93e-4354-a9f1-9c3f75325587":{"in":"path","name":"id","required":true,"schema":{"pattern":"^[a-f\\d]{24}$","type":"string","isRequired":true,"uniqueKey":"","typeLabel":"string"}}},"responses":{"29c76dd1-3b02-4375-af9b-8a366d6492d4":{"content":{"application/json":{"schema":{"description":"Standard success envelope. The endpoint payload is in `data`.","properties":{"data":{"additionalProperties":false,"examples":[{"_id":"ccc000000000000000000001","allowsNonAccredited":false,"authorizationSource":"board_resolution","authorizedShares":"1000000","canceledShares":{"$numberDecimal":"0"},"chain":"ethereum-sepolia","chainId":"1","chainType":"evm","corporateActionBlackoutActive":false,"createdAt":"2026-09-01T09:15:32.104Z","cusip":"CUSIP-SEED-001","decimalPlaces":0,"ercStandard":"ERC-20","externalId":"ext-seed-security","isin":null,"issuedShares":{"$numberDecimal":"45000"},"issuerId":"aaa000000000000000000001","lastReconciliationAt":null,"multiSigAddress":null,"name":"Seed Preferred Equity","onChainTotalSupply":{"$numberDecimal":"45000"},"outstandingShares":{"$numberDecimal":"45000"},"parValue":{"$numberDecimal":"1.25"},"reconciliationStatus":"matched","reservedShares":{"$numberDecimal":"10000"},"securityClass":null,"securityType":"equity","status":"active","ticker":"SEEDTICK","tokenAddress":"0x000000000000000000000000000000000000abcd","treasuryShares":{"$numberDecimal":"0"},"updatedAt":"2026-09-01T09:15:32.104Z","updatedBy":null,"uuid":"1ebab7be-bfec-4888-85ef-dfddb135b922","whitelistOnly":false}],"properties":{"_id":{"description":"MongoDB ObjectId, 24 hexadecimal characters.","type":"string","isRequired":true,"uniqueKey":"data._id","typeLabel":"string"},"chain":{"type":"string","isRequired":true,"uniqueKey":"data.chain","typeLabel":"string"},"createdAt":{"description":"When the security was created, ISO 8601 in UTC.","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","type":"string","isRequired":true,"uniqueKey":"data.createdAt","typeLabel":"string\u003cdate-time>"},"ercStandard":{"type":"string","isRequired":true,"uniqueKey":"data.ercStandard","typeLabel":"string"},"externalId":{"type":"string","isRequired":true,"uniqueKey":"data.externalId","typeLabel":"string"},"issuerId":{"description":"MongoDB ObjectId, 24 hexadecimal characters.","type":"string","isRequired":true,"uniqueKey":"data.issuerId","typeLabel":"string"},"name":{"type":"string","isRequired":true,"uniqueKey":"data.name","typeLabel":"string"},"reconciliationStatus":{"enum":["matched","discrepancy","pending"],"type":"string","isRequired":true,"uniqueKey":"data.reconciliationStatus","typeLabel":"enum\u003cstring>"},"securityType":{"type":"string","isRequired":true,"uniqueKey":"data.securityType","typeLabel":"string"},"status":{"enum":["active","suspended","terminated"],"type":"string","isRequired":true,"uniqueKey":"data.status","typeLabel":"enum\u003cstring>"},"tokenAddress":{"type":"string","isRequired":true,"uniqueKey":"data.tokenAddress","typeLabel":"string"},"updatedAt":{"description":"When the security was last modified, ISO 8601 in UTC.","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","type":"string","isRequired":true,"uniqueKey":"data.updatedAt","typeLabel":"string\u003cdate-time>"},"uuid":{"type":"string","isRequired":true,"uniqueKey":"data.uuid","typeLabel":"string"},"allowsNonAccredited":{"type":"boolean","uniqueKey":"data.allowsNonAccredited","typeLabel":"boolean"},"authorizationSource":{"oneOf":[{"type":"string","uniqueKey":"data.authorizationSource.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.authorizationSource.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.authorizationSource","typeLabel":"string | null"},"authorizedShares":{"description":"Authorized share count, stored as a plain **string** — the one share figure here that is not extended JSON. Absent when never set.","type":"string","uniqueKey":"data.authorizedShares","typeLabel":"string"},"canceledShares":{"oneOf":[{"type":"object","description":"Shares cancelled. BSON extended JSON: read `$numberDecimal` and parse it with a decimal library. Never a bare string and never a JSON number.","required":["$numberDecimal"],"properties":{"$numberDecimal":{"description":"The exact decimal, unrounded, as a string.","type":"string","isRequired":true,"uniqueKey":"data.canceledShares.oneOf.0.$numberDecimal","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.canceledShares.oneOf.0","typeLabel":"object"},{"type":"null","description":"Shares cancelled. BSON extended JSON: read `$numberDecimal` and parse it with a decimal library. Never a bare string and never a JSON number.","uniqueKey":"data.canceledShares.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.canceledShares","typeLabel":"object | null"},"chainId":{"type":"string","uniqueKey":"data.chainId","typeLabel":"string"},"chainType":{"type":"string","uniqueKey":"data.chainType","typeLabel":"string"},"corporateActionBlackoutActive":{"type":"boolean","uniqueKey":"data.corporateActionBlackoutActive","typeLabel":"boolean"},"cusip":{"oneOf":[{"type":"string","uniqueKey":"data.cusip.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.cusip.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.cusip","typeLabel":"string | null"},"decimalPlaces":{"description":"Token decimals on chain. 0 for a whole-share security.","maximum":9007199254740991,"minimum":-9007199254740991,"type":"integer","uniqueKey":"data.decimalPlaces","typeLabel":"integer"},"isin":{"oneOf":[{"type":"string","uniqueKey":"data.isin.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.isin.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.isin","typeLabel":"string | null"},"issuedShares":{"oneOf":[{"type":"object","description":"Shares ever issued. BSON extended JSON: read `$numberDecimal` and parse it with a decimal library. Never a bare string and never a JSON number.","required":["$numberDecimal"],"properties":{"$numberDecimal":{"description":"The exact decimal, unrounded, as a string.","type":"string","isRequired":true,"uniqueKey":"data.issuedShares.oneOf.0.$numberDecimal","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.issuedShares.oneOf.0","typeLabel":"object"},{"type":"null","description":"Shares ever issued. BSON extended JSON: read `$numberDecimal` and parse it with a decimal library. Never a bare string and never a JSON number.","uniqueKey":"data.issuedShares.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.issuedShares","typeLabel":"object | null"},"lastReconciliationAt":{"oneOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$","uniqueKey":"data.lastReconciliationAt.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","uniqueKey":"data.lastReconciliationAt.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.lastReconciliationAt","typeLabel":"string\u003cdate-time> | null"},"multiSigAddress":{"oneOf":[{"type":"string","uniqueKey":"data.multiSigAddress.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.multiSigAddress.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.multiSigAddress","typeLabel":"string | null"},"onChainTotalSupply":{"oneOf":[{"type":"object","description":"Token total supply last read from chain. BSON extended JSON: read `$numberDecimal` and parse it with a decimal library. Never a bare string and never a JSON number.","required":["$numberDecimal"],"properties":{"$numberDecimal":{"description":"The exact decimal, unrounded, as a string.","type":"string","isRequired":true,"uniqueKey":"data.onChainTotalSupply.oneOf.0.$numberDecimal","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.onChainTotalSupply.oneOf.0","typeLabel":"object"},{"type":"null","description":"Token total supply last read from chain. BSON extended JSON: read `$numberDecimal` and parse it with a decimal library. Never a bare string and never a JSON number.","uniqueKey":"data.onChainTotalSupply.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.onChainTotalSupply","typeLabel":"object | null"},"outstandingShares":{"oneOf":[{"type":"object","description":"Shares currently outstanding. BSON extended JSON: read `$numberDecimal` and parse it with a decimal library. Never a bare string and never a JSON number.","required":["$numberDecimal"],"properties":{"$numberDecimal":{"description":"The exact decimal, unrounded, as a string.","type":"string","isRequired":true,"uniqueKey":"data.outstandingShares.oneOf.0.$numberDecimal","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.outstandingShares.oneOf.0","typeLabel":"object"},{"type":"null","description":"Shares currently outstanding. BSON extended JSON: read `$numberDecimal` and parse it with a decimal library. Never a bare string and never a JSON number.","uniqueKey":"data.outstandingShares.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.outstandingShares","typeLabel":"object | null"},"parValue":{"oneOf":[{"type":"object","description":"Par value per share. BSON extended JSON: read `$numberDecimal` and parse it with a decimal library. Never a bare string and never a JSON number.","required":["$numberDecimal"],"properties":{"$numberDecimal":{"description":"The exact decimal, unrounded, as a string.","type":"string","isRequired":true,"uniqueKey":"data.parValue.oneOf.0.$numberDecimal","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.parValue.oneOf.0","typeLabel":"object"},{"type":"null","description":"Par value per share. BSON extended JSON: read `$numberDecimal` and parse it with a decimal library. Never a bare string and never a JSON number.","uniqueKey":"data.parValue.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.parValue","typeLabel":"object | null"},"reservedShares":{"oneOf":[{"type":"object","description":"Shares reserved. BSON extended JSON: read `$numberDecimal` and parse it with a decimal library. Never a bare string and never a JSON number.","required":["$numberDecimal"],"properties":{"$numberDecimal":{"description":"The exact decimal, unrounded, as a string.","type":"string","isRequired":true,"uniqueKey":"data.reservedShares.oneOf.0.$numberDecimal","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.reservedShares.oneOf.0","typeLabel":"object"},{"type":"null","description":"Shares reserved. BSON extended JSON: read `$numberDecimal` and parse it with a decimal library. Never a bare string and never a JSON number.","uniqueKey":"data.reservedShares.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.reservedShares","typeLabel":"object | null"},"securityClass":{"oneOf":[{"type":"string","uniqueKey":"data.securityClass.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.securityClass.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.securityClass","typeLabel":"string | null"},"ticker":{"oneOf":[{"type":"string","uniqueKey":"data.ticker.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.ticker.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.ticker","typeLabel":"string | null"},"treasuryShares":{"oneOf":[{"type":"object","description":"Shares held in treasury. BSON extended JSON: read `$numberDecimal` and parse it with a decimal library. Never a bare string and never a JSON number.","required":["$numberDecimal"],"properties":{"$numberDecimal":{"description":"The exact decimal, unrounded, as a string.","type":"string","isRequired":true,"uniqueKey":"data.treasuryShares.oneOf.0.$numberDecimal","typeLabel":"string"}},"additionalProperties":false,"uniqueKey":"data.treasuryShares.oneOf.0","typeLabel":"object"},{"type":"null","description":"Shares held in treasury. BSON extended JSON: read `$numberDecimal` and parse it with a decimal library. Never a bare string and never a JSON number.","uniqueKey":"data.treasuryShares.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.treasuryShares","typeLabel":"object | null"},"updatedBy":{"oneOf":[{"type":"string","description":"MongoDB ObjectId, 24 hexadecimal characters.","uniqueKey":"data.updatedBy.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.updatedBy.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.updatedBy","typeLabel":"string | null"},"whitelistOnly":{"type":"boolean","uniqueKey":"data.whitelistOnly","typeLabel":"boolean"}},"required":["_id","uuid","issuerId","externalId","name","securityType","tokenAddress","chain","ercStandard","status","reconciliationStatus","createdAt","updatedAt"],"type":"object","isRequired":true,"uniqueKey":"data","typeLabel":"object"},"message":{"example":"Success","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"meta":{"properties":{"timestamp":{"description":"Server time the response was built, ISO 8601 in UTC.","example":"2026-09-01T09:15:32.104Z","format":"date-time","type":"string","isRequired":true,"uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"requestId":{"description":"Correlates this response with server logs. Absent when the request carried no id.","example":"3f1c9d2e-6b7a-4f18-9c53-0a2b6d4e8f10","type":"string","uniqueKey":"meta.requestId","typeLabel":"string"}},"required":["timestamp"],"type":"object","isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"statusCode":{"example":200,"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"success":{"example":true,"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"}},"required":["success","statusCode","message","data","meta"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":{"_id":"ccc000000000000000000001","allowsNonAccredited":false,"authorizationSource":"board_resolution","authorizedShares":"1000000","canceledShares":{"$numberDecimal":"0"},"chain":"ethereum-sepolia","chainId":"1","chainType":"evm","corporateActionBlackoutActive":false,"createdAt":"2026-09-01T09:15:32.104Z","cusip":"CUSIP-SEED-001","decimalPlaces":0,"ercStandard":"ERC-20","externalId":"ext-seed-security","isin":null,"issuedShares":{"$numberDecimal":"45000"},"issuerId":"aaa000000000000000000001","lastReconciliationAt":null,"multiSigAddress":null,"name":"Seed Preferred Equity","onChainTotalSupply":{"$numberDecimal":"45000"},"outstandingShares":{"$numberDecimal":"45000"},"parValue":{"$numberDecimal":"1.25"},"reconciliationStatus":"matched","reservedShares":{"$numberDecimal":"10000"},"securityClass":null,"securityType":"equity","status":"active","ticker":"SEEDTICK","tokenAddress":"0x000000000000000000000000000000000000abcd","treasuryShares":{"$numberDecimal":"0"},"updatedAt":"2026-09-01T09:15:32.104Z","updatedBy":null,"uuid":"1ebab7be-bfec-4888-85ef-dfddb135b922","whitelistOnly":false},"message":"Success","meta":{"timestamp":"2026-09-01T09:15:32.104Z","requestId":"3f1c9d2e-6b7a-4f18-9c53-0a2b6d4e8f10"},"statusCode":200,"success":true}}},"exampleType":"generated"}},"description":"The security.","exampleType":"generated"},"3a624593-a956-433f-8605-992a7456e852":{"content":{"application/json":{"schema":{"description":"Standard error envelope. Every 4xx and 5xx response uses it.","properties":{"error":{"properties":{"code":{"description":"Machine-readable error code. Currently mirrors `message`; treat it, not `message`, as the stable field.","example":"Validation error","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"oneOf":[{"description":"Per-field detail, present for validation failures and null otherwise.","items":{"properties":{"field":{"example":"email","type":"string","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].field","typeLabel":"string"},"message":{"example":"Invalid email format","type":"string","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"allowedValues":{"description":"Present only when the field is an enum.","items":{"type":"string","uniqueKey":"error.details.oneOf.0.items.[INDEX].allowedValues.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"error.details.oneOf.0.items.[INDEX].allowedValues","typeLabel":"string[]"}},"required":["field","message"],"type":"object","uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"description":"Per-field detail, present for validation failures and null otherwise.","items":{"properties":{"allowedValues":{"description":"Present only when the field is an enum.","items":{"type":"string"},"type":"array"},"field":{"example":"email","type":"string"},"message":{"example":"Invalid email format","type":"string"}},"required":["field","message"],"type":"object"},"type":"null","isRequired":true,"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.details","typeLabel":"object[] | null"}},"required":["code","details"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"message":{"example":"Validation error","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"meta":{"properties":{"timestamp":{"description":"Server time the response was built, ISO 8601 in UTC.","example":"2026-09-01T09:15:32.104Z","format":"date-time","type":"string","isRequired":true,"uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"requestId":{"description":"Correlates this response with server logs. Absent when the request carried no id.","example":"3f1c9d2e-6b7a-4f18-9c53-0a2b6d4e8f10","type":"string","uniqueKey":"meta.requestId","typeLabel":"string"}},"required":["timestamp"],"type":"object","isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"statusCode":{"example":422,"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"success":{"example":false,"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"}},"required":["success","statusCode","message","error","meta"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"Validation error","details":[{"field":"email","message":"Invalid email format","allowedValues":["\u003cstring>"]}]},"message":"Validation error","meta":{"timestamp":"2026-09-01T09:15:32.104Z","requestId":"3f1c9d2e-6b7a-4f18-9c53-0a2b6d4e8f10"},"statusCode":422,"success":false}}},"exampleType":"generated"}},"description":"Missing, expired or revoked credentials.","exampleType":"generated"},"80b4eff5-5980-4534-9110-13bfede1bd1d":{"content":{"application/json":{"schema":{"description":"Standard error envelope. Every 4xx and 5xx response uses it.","properties":{"error":{"properties":{"code":{"description":"Machine-readable error code. Currently mirrors `message`; treat it, not `message`, as the stable field.","example":"Validation error","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"oneOf":[{"description":"Per-field detail, present for validation failures and null otherwise.","items":{"properties":{"field":{"example":"email","type":"string","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].field","typeLabel":"string"},"message":{"example":"Invalid email format","type":"string","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"allowedValues":{"description":"Present only when the field is an enum.","items":{"type":"string","uniqueKey":"error.details.oneOf.0.items.[INDEX].allowedValues.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"error.details.oneOf.0.items.[INDEX].allowedValues","typeLabel":"string[]"}},"required":["field","message"],"type":"object","uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"description":"Per-field detail, present for validation failures and null otherwise.","items":{"properties":{"allowedValues":{"description":"Present only when the field is an enum.","items":{"type":"string"},"type":"array"},"field":{"example":"email","type":"string"},"message":{"example":"Invalid email format","type":"string"}},"required":["field","message"],"type":"object"},"type":"null","isRequired":true,"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.details","typeLabel":"object[] | null"}},"required":["code","details"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"message":{"example":"Validation error","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"meta":{"properties":{"timestamp":{"description":"Server time the response was built, ISO 8601 in UTC.","example":"2026-09-01T09:15:32.104Z","format":"date-time","type":"string","isRequired":true,"uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"requestId":{"description":"Correlates this response with server logs. Absent when the request carried no id.","example":"3f1c9d2e-6b7a-4f18-9c53-0a2b6d4e8f10","type":"string","uniqueKey":"meta.requestId","typeLabel":"string"}},"required":["timestamp"],"type":"object","isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"statusCode":{"example":422,"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"success":{"example":false,"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"}},"required":["success","statusCode","message","error","meta"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"Validation error","details":[{"field":"email","message":"Invalid email format","allowedValues":["\u003cstring>"]}]},"message":"Validation error","meta":{"timestamp":"2026-09-01T09:15:32.104Z","requestId":"3f1c9d2e-6b7a-4f18-9c53-0a2b6d4e8f10"},"statusCode":422,"success":false}}},"exampleType":"generated"}},"description":"Authenticated, but the role lacks the required permission.","exampleType":"generated"},"9e37b489-4cd7-4f0b-8b9b-c3d7bb667981":{"content":{"application/json":{"schema":{"description":"Standard success envelope. The endpoint payload is in `data`.","properties":{"data":{"description":"Endpoint payload, which is null for this operation.","isRequired":true,"uniqueKey":"data","typeLabel":"any"},"message":{"example":"Success","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"meta":{"properties":{"timestamp":{"description":"Server time the response was built, ISO 8601 in UTC.","example":"2026-09-01T09:15:32.104Z","format":"date-time","type":"string","isRequired":true,"uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"requestId":{"description":"Correlates this response with server logs. Absent when the request carried no id.","example":"3f1c9d2e-6b7a-4f18-9c53-0a2b6d4e8f10","type":"string","uniqueKey":"meta.requestId","typeLabel":"string"}},"required":["timestamp"],"type":"object","isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"statusCode":{"example":404,"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"success":{"example":false,"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"}},"required":["success","statusCode","message","data","meta"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":"\u003cunknown>","message":"Success","meta":{"timestamp":"2026-09-01T09:15:32.104Z","requestId":"3f1c9d2e-6b7a-4f18-9c53-0a2b6d4e8f10"},"statusCode":404,"success":false}}},"exampleType":"generated"}},"description":"No such security, or not one of the caller's issuer's. Reported through `ApiResponse`, so the body is the standard envelope with `success: false` and a null `data`.\n","exampleType":"generated"},"1adc8a9f-797c-4b9b-9c15-be4f6e2cfd74":{"content":{"application/json":{"schema":{"description":"Standard error envelope. Every 4xx and 5xx response uses it.","properties":{"error":{"properties":{"code":{"description":"Machine-readable error code. Currently mirrors `message`; treat it, not `message`, as the stable field.","example":"Validation error","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"oneOf":[{"description":"Per-field detail, present for validation failures and null otherwise.","items":{"properties":{"field":{"example":"email","type":"string","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].field","typeLabel":"string"},"message":{"example":"Invalid email format","type":"string","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"allowedValues":{"description":"Present only when the field is an enum.","items":{"type":"string","uniqueKey":"error.details.oneOf.0.items.[INDEX].allowedValues.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"error.details.oneOf.0.items.[INDEX].allowedValues","typeLabel":"string[]"}},"required":["field","message"],"type":"object","uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"description":"Per-field detail, present for validation failures and null otherwise.","items":{"properties":{"allowedValues":{"description":"Present only when the field is an enum.","items":{"type":"string"},"type":"array"},"field":{"example":"email","type":"string"},"message":{"example":"Invalid email format","type":"string"}},"required":["field","message"],"type":"object"},"type":"null","isRequired":true,"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.details","typeLabel":"object[] | null"}},"required":["code","details"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"message":{"example":"Validation error","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"meta":{"properties":{"timestamp":{"description":"Server time the response was built, ISO 8601 in UTC.","example":"2026-09-01T09:15:32.104Z","format":"date-time","type":"string","isRequired":true,"uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"requestId":{"description":"Correlates this response with server logs. Absent when the request carried no id.","example":"3f1c9d2e-6b7a-4f18-9c53-0a2b6d4e8f10","type":"string","uniqueKey":"meta.requestId","typeLabel":"string"}},"required":["timestamp"],"type":"object","isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"statusCode":{"example":422,"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"success":{"example":false,"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"}},"required":["success","statusCode","message","error","meta"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"Validation error","details":[{"field":"email","message":"Invalid email format","allowedValues":["\u003cstring>"]}]},"message":"Validation error","meta":{"timestamp":"2026-09-01T09:15:32.104Z","requestId":"3f1c9d2e-6b7a-4f18-9c53-0a2b6d4e8f10"},"statusCode":422,"success":false}}},"exampleType":"generated"}},"description":"The request failed schema validation; `error.details` names each field.","exampleType":"generated"},"0fc7dc9b-6fe9-40c6-973a-425873d9d4d2":{"content":{"application/json":{"schema":{"description":"Standard error envelope. Every 4xx and 5xx response uses it.","properties":{"error":{"properties":{"code":{"description":"Machine-readable error code. Currently mirrors `message`; treat it, not `message`, as the stable field.","example":"Validation error","type":"string","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"details":{"oneOf":[{"description":"Per-field detail, present for validation failures and null otherwise.","items":{"properties":{"field":{"example":"email","type":"string","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].field","typeLabel":"string"},"message":{"example":"Invalid email format","type":"string","isRequired":true,"uniqueKey":"error.details.oneOf.0.items.[INDEX].message","typeLabel":"string"},"allowedValues":{"description":"Present only when the field is an enum.","items":{"type":"string","uniqueKey":"error.details.oneOf.0.items.[INDEX].allowedValues.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"error.details.oneOf.0.items.[INDEX].allowedValues","typeLabel":"string[]"}},"required":["field","message"],"type":"object","uniqueKey":"error.details.oneOf.0.items.[INDEX]","typeLabel":"object"},"type":"array","isRequired":true,"uniqueKey":"error.details.oneOf.0","typeLabel":"object[]"},{"description":"Per-field detail, present for validation failures and null otherwise.","items":{"properties":{"allowedValues":{"description":"Present only when the field is an enum.","items":{"type":"string"},"type":"array"},"field":{"example":"email","type":"string"},"message":{"example":"Invalid email format","type":"string"}},"required":["field","message"],"type":"object"},"type":"null","isRequired":true,"uniqueKey":"error.details.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"error.details","typeLabel":"object[] | null"}},"required":["code","details"],"type":"object","isRequired":true,"uniqueKey":"error","typeLabel":"object"},"message":{"example":"Validation error","type":"string","isRequired":true,"uniqueKey":"message","typeLabel":"string"},"meta":{"properties":{"timestamp":{"description":"Server time the response was built, ISO 8601 in UTC.","example":"2026-09-01T09:15:32.104Z","format":"date-time","type":"string","isRequired":true,"uniqueKey":"meta.timestamp","typeLabel":"string\u003cdate-time>"},"requestId":{"description":"Correlates this response with server logs. Absent when the request carried no id.","example":"3f1c9d2e-6b7a-4f18-9c53-0a2b6d4e8f10","type":"string","uniqueKey":"meta.requestId","typeLabel":"string"}},"required":["timestamp"],"type":"object","isRequired":true,"uniqueKey":"meta","typeLabel":"object"},"statusCode":{"example":422,"type":"integer","isRequired":true,"uniqueKey":"statusCode","typeLabel":"integer"},"success":{"example":false,"type":"boolean","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"}},"required":["success","statusCode","message","error","meta"],"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":"Validation error","details":[{"field":"email","message":"Invalid email format","allowedValues":["\u003cstring>"]}]},"message":"Validation error","meta":{"timestamp":"2026-09-01T09:15:32.104Z","requestId":"3f1c9d2e-6b7a-4f18-9c53-0a2b6d4e8f10"},"statusCode":422,"success":false}}},"exampleType":"generated"}},"description":"Unexpected server error. The `requestId` in `meta` identifies it in the logs.","exampleType":"generated"}},"security":{"60e11125-954f-40ce-a8f4-c5ee5e60bd54":{"bearerAuth":{"bearerFormat":"JWT","description":"Staff access token. Sent as `Authorization: Bearer \u003ctoken>`, or — when that header is absent — read from the `accessToken` cookie, which is how the admin app authenticates. Tokens carry a `tokenVersion`; logout and password reset bump it, revoking every outstanding token for that account.","scheme":"bearer","type":"http","scopes":[]}}},"servers":{"f79bd8bd-10de-4fee-b222-94eacffc3cfd":{"description":"API server","url":"https://api.openagent.to"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"bearerFormat":"JWT","description":"Staff access token. Sent as `Authorization: Bearer \u003ctoken>`, or — when that header is absent — read from the `accessToken` cookie, which is how the admin app authenticates. Tokens carry a `tokenVersion`; logout and password reset bump it, revoking every outstanding token for that account.","scheme":"bearer","type":"http","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Staff access token. Sent as `Authorization: Bearer \u003ctoken>`, or — when that header is absent — read from the `accessToken` cookie, which is how the admin app authenticates. Tokens carry a `tokenVersion`; logout and password reset bump it, revoking every outstanding token for that account.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearerAuth","name":"Authorization"}],"title":"bearerAuth"}]},"originalFileLocation":"openapi.json"},"subdomain":"open-agent","siteName":"Open Agent API","title":"Get one security - Open Agent API","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-21T11:31:34.470Z","originalFileLocation":"api-reference/securities/get-one-security.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=\"Returns one security as a hydrated document: every optional field is present, as null or its default where unset, and there is no issuerName — nothing is resolved on this path, unlike a list row. Share figures are BSON extended JSON here too, with authorizedShares again the plain-string exception. An issuer_admin asking for another issuer\u0026#x27;s security gets 404, not 403, the same way the issuer endpoint behaves: the service returns null on a scope mismatch, which the controller cannot tell apart from a missing record, and a 403 would confirm the security exists. Requires security:read.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Open Agent API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/open-agent/-zLjUPxWssYUjWze/_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/open-agent/-zLjUPxWssYUjWze/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/open-agent/-zLjUPxWssYUjWze/_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/open-agent/-zLjUPxWssYUjWze/_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/open-agent/-zLjUPxWssYUjWze/_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/open-agent/-zLjUPxWssYUjWze/_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/open-agent/-zLjUPxWssYUjWze/_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/open-agent/-zLjUPxWssYUjWze/_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/open-agent/-zLjUPxWssYUjWze/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get one security - Open Agent API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Returns one security as a hydrated document: every optional field is present, as null or its default where unset, and there is no issuerName — nothing is resolved on this path, unlike a list row. Share figures are BSON extended JSON here too, with authorizedShares again the plain-string exception. An issuer_admin asking for another issuer\u0026#x27;s security gets 404, not 403, the same way the issuer endpoint behaves: the service returns null on a scope mismatch, which the controller cannot tell apart from a missing record, and a 403 would confirm the security exists. Requires security:read.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Open Agent API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.openagent.to/api-reference/securities/get-one-security\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://open-agent.mintlify.site/_mintlify/api/og/v2?division=Securities\u0026amp;title=Get+one+security\u0026amp;description=Returns+one+security+as+a+hydrated+document%3A+every+optional+field+is+present%2C+as+%60null%60+or+its+default+where+unset%2C+and+there+is+**no+%60issuerName%60**+%E2%80%94+nothing+i\u0026amp;theme=304565ab3e61008fa587b560\u0026amp;signature=87e920f2d9f41923ae71042c27fc95798f09f300e96c61b230472b08f5626c38\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Get one security - Open Agent API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Returns one security as a hydrated document: every optional field is present, as null or its default where unset, and there is no issuerName — nothing is resolved on this path, unlike a list row. Share figures are BSON extended JSON here too, with authorizedShares again the plain-string exception. An issuer_admin asking for another issuer\u0026#x27;s security gets 404, not 403, the same way the issuer endpoint behaves: the service returns null on a scope mismatch, which the controller cannot tell apart from a missing record, and a 403 would confirm the security exists. Requires security:read.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://open-agent.mintlify.site/_mintlify/api/og/v2?division=Securities\u0026amp;title=Get+one+security\u0026amp;description=Returns+one+security+as+a+hydrated+document%3A+every+optional+field+is+present%2C+as+%60null%60+or+its+default+where+unset%2C+and+there+is+**no+%60issuerName%60**+%E2%80%94+nothing+i\u0026amp;theme=304565ab3e61008fa587b560\u0026amp;signature=87e920f2d9f41923ae71042c27fc95798f09f300e96c61b230472b08f5626c38\">\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/open-agent/-zLjUPxWssYUjWze/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Open Agent API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4A6274\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.openagent.to/api-reference/securities/get-one-security\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/securities/get-one-security.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.openagent.to/#organization\",\"name\":\"Open Agent API\",\"url\":\"https://docs.openagent.to\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/open-agent/_71EWBMN8sRMMt3Z/logo/light.png?fit=max\u0026auto=format\u0026n=_71EWBMN8sRMMt3Z\u0026q=85\u0026s=64c378585eddde163b0aed500aba3007\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.openagent.to#website\",\"name\":\"Open Agent API\",\"url\":\"https://docs.openagent.to\",\"publisher\":{\"@id\":\"https://docs.openagent.to/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.openagent.to/api-reference/securities/get-one-security#webpage\",\"url\":\"https://docs.openagent.to/api-reference/securities/get-one-security\",\"name\":\"Get one security\",\"description\":\"Returns one security as a hydrated document: every optional field is present, as null or its default where unset, and there is no issuerName — nothing is resolved on this path, unlike a list row. Share figures are BSON extended JSON here too, with authorizedShares again the plain-string exception. An issuer_admin asking for another issuer's security gets 404, not 403, the same way the issuer endpoint behaves: the service returns null on a scope mismatch, which the controller cannot tell apart from a missing record, and a 403 would confirm the security exists. Requires security:read.\",\"dateModified\":\"2026-09-21T11:31:34.470Z\",\"isPartOf\":{\"@id\":\"https://docs.openagent.to#website\"},\"breadcrumb\":{\"@id\":\"https://docs.openagent.to/api-reference/securities/get-one-security#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.openagent.to/api-reference/securities/get-one-security#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.openagent.to/api-reference/api-keys/disable-an-api-key\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Securities\",\"item\":\"https://docs.openagent.to/api-reference/securities/list-securities\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get one security\",\"item\":\"https://docs.openagent.to/api-reference/securities/get-one-security\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.openagent.to/api-reference/securities/get-one-security#apireference\",\"headline\":\"Get one security\",\"name\":\"Get one security\",\"description\":\"Returns one security as a hydrated document: every optional field is present, as null or its default where unset, and there is no issuerName — nothing is resolved on this path, unlike a list row. Share figures are BSON extended JSON here too, with authorizedShares again the plain-string exception. An issuer_admin asking for another issuer's security gets 404, not 403, the same way the issuer endpoint behaves: the service returns null on a scope mismatch, which the controller cannot tell apart from a missing record, and a 403 would confirm the security exists. Requires security:read.\",\"url\":\"https://docs.openagent.to/api-reference/securities/get-one-security\",\"mainEntityOfPage\":{\"@id\":\"https://docs.openagent.to/api-reference/securities/get-one-security#webpage\"},\"dateModified\":\"2026-09-21T11:31:34.470Z\",\"publisher\":{\"@id\":\"https://docs.openagent.to/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.openagent.to#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Open Agent API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Open Agent API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/securities/get-one-security.md","siteName":"Open Agent API","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"API reference","groups":[{"group":"Overview","pages":[{"title":"API reference","href":"/api-reference/overview"}]},{"group":"Endpoints","pages":[{"group":"API Keys","pages":[{"title":"Disable an API key","deprecated":null,"version":null,"openapi":"/openapi.json patch /api/v1/admin/api-keys/{keyId}/disable","href":"/api-reference/api-keys/disable-an-api-key"},{"title":"List an app's API keys","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/admin/apps/{appId}/api-keys","href":"/api-reference/api-keys/list-an-apps-api-keys"},{"title":"Issue an API key","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/admin/apps/{appId}/api-keys","href":"/api-reference/api-keys/issue-an-api-key"},{"title":"Check an API key and secret","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/api-keys/validate","href":"/api-reference/api-keys/check-an-api-key-and-secret"}]},{"group":"Apps","pages":[{"title":"List apps","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/admin/apps","href":"/api-reference/apps/list-apps"},{"title":"Create an app","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/admin/apps","href":"/api-reference/apps/create-an-app"},{"title":"Get an app","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/admin/apps/{id}","href":"/api-reference/apps/get-an-app"},{"title":"Delete an app","deprecated":null,"version":null,"openapi":"/openapi.json delete /api/v1/admin/apps/{id}","href":"/api-reference/apps/delete-an-app"}]},{"group":"Auth","pages":[{"title":"Log a staff user in","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/auth/login","href":"/api-reference/auth/log-a-staff-user-in"},{"title":"Log a staff user out","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/auth/logout","href":"/api-reference/auth/log-a-staff-user-out"},{"title":"Get the authenticated staff user's profile","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/auth/me","href":"/api-reference/auth/get-the-authenticated-staff-users-profile"},{"title":"Refresh a staff session","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/auth/refresh-token","href":"/api-reference/auth/refresh-a-staff-session"}]},{"group":"Health","pages":[{"title":"Check service health","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/health","href":"/api-reference/health/check-service-health"}]},{"group":"Investors","pages":[{"title":"List investors","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/investors","href":"/api-reference/investors/list-investors"},{"title":"Get one investor","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/investors/{id}","href":"/api-reference/investors/get-one-investor"},{"title":"List an investor's securities","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/investors/{id}/securities","href":"/api-reference/investors/list-an-investors-securities"}]},{"group":"Issuers","pages":[{"title":"List issuers","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/issuers","href":"/api-reference/issuers/list-issuers"},{"title":"Get one issuer","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/issuers/{id}","href":"/api-reference/issuers/get-one-issuer"}]},{"group":"Reports","pages":[{"title":"Control book","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/reports/control-book","href":"/api-reference/reports/control-book"},{"title":"Master Security Holder File","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/reports/mshf","href":"/api-reference/reports/master-security-holder-file"},{"title":"Turnaround log","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/reports/turnaround","href":"/api-reference/reports/turnaround-log"},{"title":"Monthly turnaround compliance","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/reports/turnaround/monthly","href":"/api-reference/reports/monthly-turnaround-compliance"}]},{"group":"Securities","pages":[{"title":"List securities","description":"Returns a page of securities, each with the issuer's `issuerName` resolved. Scoped to the caller's issuer by a pipeline `$match` applied before pagination, so the counts are scoped with the page. There is no filter parameter beyond pagination. **Every share figure is BSON extended JSON**: `parValue`, `issuedShares`, `outstandingShares`, `treasuryShares`, `canceledShares`, `reservedShares` and `onChainTotalSupply` all arrive as `{\"$numberDecimal\": \"…\"}`. Read the inner string and parse it with a decimal library. `authorizedShares` is the exception — a plain string. The `/transactions` endpoints return plain decimal strings and `/reports` returns JSON numbers, so do not share a parser across them. Rows come from an aggregation, so a field the document never stored is **absent** rather than null; the detail endpoint materializes those same fields. Defaults: page 1, 20 per page, newest first. `search` matches `uuid`, `externalId`, `name`, `cusip`, `isin`, `ticker`, `tokenAddress` and `chain`. Requires the `security:read` permission, held by every staff role.\n","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/securities","href":"/api-reference/securities/list-securities"},{"title":"Get one security","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/securities/{id}","href":"/api-reference/securities/get-one-security"}]},{"group":"Transactions","pages":[{"title":"List transaction items","description":"Returns a page of transaction items with their security joined in. The rows are **projected and renamed** by the aggregation, so they do not match the stored document: there is no `_id` — use `uuid` — and `metadata.fromAddress` surfaces as `fromAddress`. Issuer scoping: an `issuer_admin` sees only its own issuer's records, and is refused with 403 if its token carries no valid issuer id. `ta_admin` and `audit_user` see everything. `quantity` is an exact decimal **string** (stored as `Decimal128`, stringified by the pipeline). Parse it with a decimal library — `Number()` loses precision past 2^53. No scale is imposed and nothing is rounded. All timestamps are ISO 8601 in UTC. Defaults: page 1, 20 per page, newest first (`-createdAt`). `itemType`, `status` and `itemCategory` each accept a comma-separated list, matching any of the values. Requires the `transaction:read` permission.\n","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/transactions","href":"/api-reference/transactions/list-transaction-items"},{"title":"List holder positions","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/transactions/holders","href":"/api-reference/transactions/list-holder-positions"},{"title":"List items with their classification state","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/transactions/item-classification","href":"/api-reference/transactions/list-items-with-their-classification-state"},{"title":"List journal ledger entries","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/transactions/ledger","href":"/api-reference/transactions/list-journal-ledger-entries"},{"title":"List the registrar journal","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/transactions/registrar-journal","href":"/api-reference/transactions/list-the-registrar-journal"},{"title":"List transfer items only","deprecated":null,"version":null,"openapi":"/openapi.json get /api/v1/transactions/transfers","href":"/api-reference/transactions/list-transfer-items-only"}]},{"group":"Webhook","pages":[{"title":"Receive an issuer platform event","deprecated":null,"version":null,"openapi":"/openapi.json post /api/v1/webhook/sync","href":"/api-reference/webhook/receive-an-issuer-platform-event"}]}]}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Get one security - Open Agent API","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CWRF67qg.js","snippetPresets-BR8BoZAC.js","utils-D5WEoDBM.js","style-to-object-BY3JEAdk.js","utils-B79vXYXV.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-C59iNs-S.js","conditional-requirements-CFM0id0Q.js","cloneDeep-455jK_K_.js","_Uint8Array-BEecbuUl.js","isObject-FP1Yky1u.js","ApiExamples-CFRHL52q.js","usePlaygroundInputsStore-Caip2xMX.js","shallow-BS-qcxmX.js","isEqual-CEpbaqh9.js","CodeSnippets-B-R0FAqw.js","CodeSnippet-Bkkti1IB.js","use-playground-group-access-BLvLSz8w.js","Page-UFatEFaf.js","api-description-markdown-Cny85OC3.js","DynamicMarkdown-Czhs88Hc.js","SectionHeading-B08KBUKT.js","MethodPill-D8OvWg5y.js","getPastedJson-tB5m0_yh.js","Check2Icon-CeP__a4S.js","axios-CsQoIw0U.js","Markdown-LI7DSqeK.js","AssistantPageLink-bYxdsqKl.js","dist-DXTH2WLA.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}