Use this endpoint to compute and refresh metadata for a connection. Only the connection ID is required - the connection configuration will be fetched automatically from the database. This endpoint analyzes your database schema, identifies tables, columns, data types, and relationships to enable Upsolve’s AI-powered features.
apiKey MUST be supplied within the request body instead of query
POST /v1/api/connection/compute-metadata Request body
Upsolve API key, generated in the Deploy tab of the Upsolve Hub.
1The ID of the connection to compute metadata for
[Optional] The ID of the org the API key is being used with. Only needed if the API key is being used for an organization other than the org that generated it.
The ID of the user making the request (optional)
Project ID (optional, required for Data plane connections)
Array of catalog names to compute metadata for (optional, for Data plane connections)
Array of schema names to compute metadata for (optional)
Whether to keep queries for debugging (optional)