curl -X GET https://api.portkey.ai/v1/secret-references/SECRET_REFERENCE_ID \
-H "x-portkey-api-key: PORTKEY_API_KEY"{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"secret_path": "<string>",
"secret_key": "<string>",
"allow_all_workspaces": true,
"tags": {},
"created_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_updated_at": "2023-11-07T05:31:56Z",
"auth_config": {}
}Retrieve Secret Reference
GET
/
secret-references
/
{secretReferenceId}
curl -X GET https://api.portkey.ai/v1/secret-references/SECRET_REFERENCE_ID \
-H "x-portkey-api-key: PORTKEY_API_KEY"{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"organisation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"secret_path": "<string>",
"secret_key": "<string>",
"allow_all_workspaces": true,
"tags": {},
"created_by": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_updated_at": "2023-11-07T05:31:56Z",
"auth_config": {}
}Documentation Index
Fetch the complete documentation index at: https://portkey-docs-fix-cache-hit-elaborate.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Path Parameters
UUID or slug of the secret reference
Response
Successful response
Available options:
aws_sm, azure_kv, hashicorp_vault Show child attributes
Show child attributes
Available options:
ACTIVE Sensitive fields are masked for non-system users
Available options:
secret-reference Last modified on May 21, 2026
Was this page helpful?
⌘I

