GET /v1/storedProcedures/{id}
Retrieve a Stored Procedure
Get a stored procedure by ID or fully qualified name
GET
GET /v1/storedProcedures/{id}
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Retrieve a Stored Procedure
Get a single stored procedure by its unique ID or fully qualified name.Get by ID
UUID of the stored procedure to retrieve.
Comma-separated list of fields to include (e.g.,
owners,tags,followers,votes,extension,domains,sourceHash).Include
all, deleted, or non-deleted entities.Get by Fully Qualified Name
UseGET /v1/storedProcedures/name/{fqn} to retrieve by fully qualified name.
Fully qualified name of the stored procedure (e.g.,
snowflake_prod.analytics.public.usp_refresh_analytics).Comma-separated list of fields to include:
owners, tags, followers, votes, extension, domains, sourceHash.Include
all, deleted, or non-deleted entities.GET /v1/storedProcedures/{id}
Returns
Returns a stored procedure object with all requested fields populated.Response
Unique identifier for the stored procedure (UUID format).
Stored procedure name.
Fully qualified name in format
service.database.schema.storedProcedure.Human-readable display name.
Description of the stored procedure in Markdown format.
Reference to the parent database schema.
Source code and language. Only included when
fields contains storedProcedureCode.Type of database service (e.g., Snowflake, BigQuery, PostgreSQL).
Version number for the entity.
List of owners. Only included when
fields contains owners.Classification tags. Only included when
fields contains tags.Domain assignments. Only included when
fields contains domains.Error Handling
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to view this stored procedure |
404 | NOT_FOUND | Stored procedure with given ID or FQN does not exist |