cURL
curl --request POST \ --url https://api.nekt.ai/api/v1/explorer/queries/ \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "description": "<string>", "sql_query": "<string>", "saved": true, "tab_open": true, "question": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "slug": "<string>", "user_interaction": "<unknown>", "sql_query": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "current_version": "<string>", "created_by": 123, "description": "<string>", "saved": true, "tab_open": true }
API Key authentication. Format: 'x-api-key: api_key'
Current version of the query (Expandable)
User that created this query (Expandable)
Was this page helpful?