Sources

Create a saved query

Changed on

Saves a read-only query on the connection. Allowed to the person who connected it, or a member with the Integrations permission; a personal connection only to the person who connected it.

Scope: sources:write. A key holding only the legacy write scope does not satisfy it.

post/v1/sources/sql/{connectionId}/saved-queries

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Path parameters

connectionId, string uuid required

Source connection UUID.

Request body

object required
name, string required
sql_text, string required

The query.

description, string

Response

The saved query.

SqlSavedQuery required
id, string uuid
source_connection_id, string uuid
name, string
description, string nullable
sql_text, string
created_at, string date-time
updated_at, string date-time

Changes