Skip to main content
POST
/
v1
/
api
/
connection
/
compute-metadata
Compute connection metadata by connection ID
curl --request POST \
  --url 'https://api.upsolve.ai/v1/api/connection/compute-metadata?apiKey=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "connectionId": "<string>",
  "apiKey": "<string>",
  "organizationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "projectId": "<string>",
  "catalogNames": [
    "<string>"
  ],
  "schemaNames": [
    "<string>"
  ],
  "keepQueries": true,
  "updateConnectionSchema": true
}
'
{
  "status": "<string>",
  "data": {
    "metadata": "<string>"
  }
}

Authorizations

apiKey
string
query
required

apiKey MUST be supplied within the request body instead of query

Body

application/json

POST /v1/api/connection/compute-metadata Request body

connectionId
string
required

The ID of the connection to compute metadata for

apiKey
string

Upsolve API key, generated in the Deploy tab of the Upsolve Hub.

Minimum string length: 1
Example:

"up_admin_************"

organizationId
string<uuid>
projectId
string
catalogNames
string[]
schemaNames
string[]
keepQueries
boolean
updateConnectionSchema
boolean

Response

POST /v1/api/connection/compute-metadata Positive response

status
string
required
Allowed value: "success"
data
object
required