Environments-21
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
POST | |
GET | |
POST | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
GET |
Create logs sparkline
Required API key scopes
logs:readPath parameters
- project_idstring
Example request
POST /api /environments /:project_id /logs /sparklineExample response
Status 200 No response body
Retrieve logs values
Required API key scopes
logs:readPath parameters
- project_idstring
Example request
GET /api /environments /:project_id /logs /valuesExample response
Status 200 No response body
Retrieve logs values
Required API key scopes
logs:readPath parameters
- project_idstring
Example request
GET /api /environments /:project_id /logs /valuesExample response
Status 200 No response body
Create max tools create and query insight
Required API key scopes
insight:readquery:readPath parameters
- project_idstring
Example request
POST /api /environments /:project_id /max_tools /create_and_query_insightExample response
Status 200 No response body
Create max tools create and query insight
Required API key scopes
insight:readquery:readPath parameters
- project_idstring
Example request
POST /api /environments /:project_id /max_tools /create_and_query_insightExample response
Status 200 No response body
List all persisted folder
Required API key scopes
persisted_folder:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /persisted_folderExample response
Status 200
RESPONSE
List all persisted folder
Required API key scopes
persisted_folder:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /environments /:project_id /persisted_folderExample response
Status 200
RESPONSE
Create persisted folder
Required API key scopes
persisted_folder:writePath parameters
- project_idstring
Request parameters
- type
- protocolstring
- pathstring
Response
Example request
POST /api /environments /:project_id /persisted_folderExample response
Status 201
RESPONSE
Create persisted folder
Required API key scopes
persisted_folder:writePath parameters
- project_idstring
Request parameters
- type
- protocolstring
- pathstring
Response
Example request
POST /api /environments /:project_id /persisted_folderExample response
Status 201
RESPONSE
Retrieve persisted folder
Required API key scopes
persisted_folder:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /persisted_folder /:idExample response
Status 200
RESPONSE
Retrieve persisted folder
Required API key scopes
persisted_folder:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /environments /:project_id /persisted_folder /:idExample response
Status 200
RESPONSE
Update persisted folder
Required API key scopes
persisted_folder:writePath parameters
- idstring
- project_idstring
Request parameters
- type
- protocolstring
- pathstring
Response
Example request
PATCH /api /environments /:project_id /persisted_folder /:idExample response
Status 200
RESPONSE
Update persisted folder
Required API key scopes
persisted_folder:writePath parameters
- idstring
- project_idstring
Request parameters
- type
- protocolstring
- pathstring
Response
Example request
PATCH /api /environments /:project_id /persisted_folder /:idExample response
Status 200
RESPONSE
Delete persisted folder
Required API key scopes
persisted_folder:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /persisted_folder /:idExample response
Status 204 No response body
Delete persisted folder
Required API key scopes
persisted_folder:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /environments /:project_id /persisted_folder /:idExample response
Status 204 No response body
List all persons
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Required API key scopes
person:readPath parameters
- project_idstring
Query parameters
- distinct_idstring
- emailstring
- formatstringOne of:
"csv""json" - limitinteger
- offsetinteger
- propertiesarray
- searchstring
Response
Example request
GET /api /environments /:project_id /personsExample response
Status 200
RESPONSE
Retrieve persons
This endpoint is meant for reading and deleting persons. To create or update persons, we recommend using the capture API, the $set and $unset properties, or one of our SDKs.
Required API key scopes
person:readPath parameters
- idinteger
- project_idstring
Query parameters
- formatstringOne of:
"csv""json"
Response
Example request
GET /api /environments /:project_id /persons /:idExample response
Status 200
RESPONSE