Environments-7
For instructions on how to authenticate to use this endpoint, see API overview.
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Endpoints
DELETE | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
POST | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST | |
GET | |
GET | |
POST |
Delete environments datasets
Required API key scopes
dataset:writePath parameters
- idstring
A UUID string identifying this dataset.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
DELETE /api /environments /:project_id /datasets /:idExample response
Status 405 No response body
Delete environments datasets
Required API key scopes
dataset:writePath parameters
- idstring
A UUID string identifying this dataset.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
DELETE /api /environments /:project_id /datasets /:idExample response
Status 405 No response body
List all environments desktop recordings
RESTful API for managing desktop meeting recordings.
Standard CRUD operations plus transcript management as a subresource.
Required API key scopes
desktop_recording:readPath parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Query parameters
- limitinteger
Number of results to return per page.
- offsetinteger
The initial index from which to return the results.
Response
Example request
GET /api /environments /:project_id /desktop_recordingsExample response
Status 200
Create environments desktop recordings
Create a new recording and get Recall.ai upload token for the desktop SDK
Required API key scopes
desktop_recording:writePath parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- platformDefault:
desktop_audioMeeting platform being recorded
zoom- zoomteams- teamsmeet- meetdesktop_audio- desktop_audioslack- slack
Response
Example request
POST /api /environments /:project_id /desktop_recordingsExample response
Status 201
Retrieve environments desktop recordings
RESTful API for managing desktop meeting recordings.
Standard CRUD operations plus transcript management as a subresource.
Required API key scopes
desktop_recording:readPath parameters
- idstring
A UUID string identifying this desktop recording.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Response
Example request
GET /api /environments /:project_id /desktop_recordings /:idExample response
Status 200
Update environments desktop recordings
RESTful API for managing desktop meeting recordings.
Standard CRUD operations plus transcript management as a subresource.
Required API key scopes
desktop_recording:writePath parameters
- idstring
A UUID string identifying this desktop recording.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- recall_recording_idstring
- platform
- meeting_titlestring
- meeting_urlstring
- duration_secondsinteger
- status
- notesstring
- error_messagestring
- video_urlstring
- video_size_bytesinteger
- participantsarray
List of participant names
- transcript_segmentsarray
Transcript segments with timestamps
- summarystring
- extracted_tasksarray
AI-extracted tasks from transcript
- tasks_generated_atstring
- summary_generated_atstring
- started_atstring
- completed_atstring
Response
Example request
PATCH /api /environments /:project_id /desktop_recordings /:idExample response
Status 200
Delete environments desktop recordings
RESTful API for managing desktop meeting recordings.
Standard CRUD operations plus transcript management as a subresource.
Required API key scopes
desktop_recording:writePath parameters
- idstring
A UUID string identifying this desktop recording.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
DELETE /api /environments /:project_id /desktop_recordings /:idExample response
Status 204 No response body
Create environments desktop recordings append segments
Append transcript segments (supports batched real-time streaming)
Required API key scopes
desktop_recording:writePath parameters
- idstring
A UUID string identifying this desktop recording.
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- segmentsarray
Response
Example request
POST /api /environments /:project_id /desktop_recordings /:id /append_segmentsExample response
Status 200
Retrieve environments endpoints
List all endpoints for the team.
Required API key scopes
endpoint:readPath parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
GET /api /environments /:project_id /endpointsExample response
Status 200 No response body
Create environments endpoints
Create a new endpoint
Required API key scopes
endpoint:writePath parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- cache_age_secondsnumber
- derived_from_insightstring
- descriptionstring
- is_activeboolean
- is_materializedboolean
Whether this endpoint's query results are materialized to S3
- namestring
- query
- sync_frequency
How frequently should the underlying materialized view be updated
Example request
POST /api /environments /:project_id /endpointsExample response
Status 201 No response body
Retrieve environments endpoints retrieve
Retrieve an endpoint.
Required API key scopes
endpoint:readPath parameters
- namestring
URL-safe name for the endpoint
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
GET /api /environments /:project_id /endpoints /:nameExample response
Status 200 No response body
Update environments endpoints
Path parameters
- namestring
URL-safe name for the endpoint
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
PATCH /api /environments /:project_id /endpoints /:nameExample response
Status 200 No response body
Delete environments endpoints
Delete an endpoint and clean up materialized query.
Required API key scopes
endpoint:writePath parameters
- namestring
URL-safe name for the endpoint
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
DELETE /api /environments /:project_id /endpoints /:nameExample response
Status 204 No response body
Retrieve environments endpoints run
Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
Required API key scopes
endpoint:readPath parameters
- namestring
URL-safe name for the endpoint
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
GET /api /environments /:project_id /endpoints /:name /runExample response
Status 200 No response body
Create environments endpoints run
Execute endpoint with optional materialization. Supports version parameter, runs latest version if not set.
Required API key scopes
endpoint:readPath parameters
- namestring
URL-safe name for the endpoint
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- client_query_idstring
Client provided query ID. Can be used to retrieve the status or cancel the query.
- filters_override
A map for overriding insight query filters.
Tip: Use to get data for a specific customer or user.
- query_overrideobject
Map of Insight query keys to be overridden at execution time. For example: Assuming query = {"kind": "TrendsQuery", "series": [{"kind": "EventsNode","name": "$pageview","event": "$pageview","math": "total"}]} If query_override = {"series": [{"kind": "EventsNode","name": "$identify","event": "$identify","math": "total"}]} The query executed will return the count of $identify events, instead of $pageview's
- refreshDefault:
blockingWhether results should be calculated sync or async, and how much to rely on the cache:
'blocking'- calculate synchronously (returning only when the query is done), UNLESS there are very fresh results in the cache'force_blocking'- calculate synchronously, even if fresh results are already cached
- variablesobject
A map for overriding HogQL query variables, where the key is the variable name and the value is the variable value. Variable must be set on the endpoint's query between curly braces (i.e. {variable.from_date}) For example: {"from_date": "1970-01-01"}
Example request
POST /api /environments /:project_id /endpoints /:name /runExample response
Status 200 No response body
Retrieve environments endpoints versions
List all versions for an endpoint.
Required API key scopes
endpoint:readPath parameters
- namestring
URL-safe name for the endpoint
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Example request
GET /api /environments /:project_id /endpoints /:name /versionsExample response
Status 200 No response body
Retrieve environments endpoints versions retrieve
Get details of a specific endpoint version.
Required API key scopes
endpoint:readPath parameters
- namestring
URL-safe name for the endpoint
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
- version_numberstring
Example request
GET /api /environments /:project_id /endpoints /:name /versions /:version_numberExample response
Status 200 No response body
Create environments endpoints last execution times
Get the last execution times in the past 6 months for multiple endpoints.
Path parameters
- project_idstring
Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.
Request parameters
- namesarray
Response
Example request
POST /api /environments /:project_id /endpoints /last_execution_times