Skip to main content

API Documentation

Retraced API

Version: 1.4.6

License: UNLICENSED

/enterprise/v1/graphql

POST

Description:

Query events with GraphQL

Parameters
NameLocated inDescriptionRequiredSchema
Authorizationheaderauth header of the form Token token= ...Yesstring
Responses
CodeDescription
200OK

null

/enterprise/v1/search/active

POST

Description:

Initiate an active search. An active search will maintain a persistent cursor that can be used at a later date to retrieve additional events from the search.

Authenticate with an Enterprise API token.

Parameters
NameLocated inDescriptionRequiredSchema
Authorizationheaderheader of the form token= ...Yesstring
Responses
CodeDescription
201Created

null

/enterprise/v1/search/saved

POST

Description:

Create a saved search. Saved searches have an ID that can be used to initiate an active search.

Authenticate with an Enterprise API token.

Parameters
NameLocated inDescriptionRequiredSchema
Authorizationheaderheader of the form token= ...Yesstring
Responses
CodeDescription
201Created

null

/publisher/v1/project/{project_id}/event

POST

Description:

Create an event. Returns the id of the created event, and a cryptographic hash of the received event, as described here.

Parameters
NameLocated inDescriptionRequiredSchema
Authorizationheaderauth header of the form token= ...Yesstring
project_idpaththe project idYesstring
Responses
CodeDescription
201Created

null

/publisher/v1/project/{project_id}/event/bulk

POST

Description:

Create one or more events. Returns a list of the ids of the created event and a cryptographic hash of each received events, as described here.

Parameters
NameLocated inDescriptionRequiredSchema
Authorizationheaderauth header of the form token= ...Yesstring
project_idpaththe project idYesstring
Responses
CodeDescription
201Created

null

/publisher/v1/project/{project_id}/viewertoken

GET

Description:

Create a token for use with the Retraced embedded viewer as described here.

Note: At least one of group_id or team_id is required.

Parameters
NameLocated inDescriptionRequiredSchema
Authorizationheaderauth header of the form token= ...Yesstring
project_idpaththe project idYesstring
actor_idqueryYesstring
group_idqueryThe group identifier. Same as team_id. If both are passed, group_id will be used.Nostring
is_adminqueryWhether to display the Enterprise Settings and API Token Management. Set to true to show the settings.Nostring
target_idqueryIf passed, only events relating to this target will be returned in a viewer that uses the token createdNostring
team_idquerySame as group_id. If both are passed, group_id will be used. This field is deprecated.Nostring
view_log_actionqueryThe action that will be logged when the token is usedNostring
Responses
CodeDescription
201Created

null

/publisher/v1/project/{project_id}/group/{group_id}/enterprisetoken

POST

Description:

Create a token for use with [Enterprise IT API](/docs/retraced/apis/enterprise-api/

Parameters
NameLocated inDescriptionRequiredSchema
Authorizationheaderauth header of the form token= ...Yesstring
project_idpaththe project idYesstring
group_idpathThe group identifier. The generated token will be scoped to the specified group.Yesstring
Responses
CodeDescription
201Created

null

GET

Description:

List all Enterprise IT API tokens.

Parameters
NameLocated inDescriptionRequiredSchema
Authorizationheaderauth header of the form token= ...Yesstring
project_idpaththe project idYesstring
group_idpathThe group identifier.Yesstring
Responses
CodeDescription
200OK

null

/publisher/v1/project/{project_id}/group/{group_id}/enterprisetoken/{token_id}

GET

Description:

Retrieve an Enterprise IT API token.

Parameters
NameLocated inDescriptionRequiredSchema
Authorizationheaderauth header of the form token= ...Yesstring
project_idpathThe project id.Yesstring
group_idpathThe group identifier.Yesstring
token_idpathThe token id.Yesstring
Responses
CodeDescription
200OK

null

PUT

Description:

Update an Enterprise IT API token

Parameters
NameLocated inDescriptionRequiredSchema
Authorizationheaderauth header of the form token= ...Yesstring
project_idpaththe project idYesstring
group_idpathThe group identifier.Yesstring
token_idpathThe token to update.Yesstring
Responses
CodeDescription
200OK

null

DELETE

Description:

Delete an Enterprise IT API token

Parameters
NameLocated inDescriptionRequiredSchema
Authorizationheaderauth header of the form token= ...Yesstring
project_idpaththe project idYesstring
group_idpathThe group identifier.Yesstring
token_idpathThe token to delete.Yesstring
Responses
CodeDescription
204Deleted

null

/publisher/v1/project/{project_id}/graphql

POST

Description:

Query events with GraphQL

Parameters
NameLocated inDescriptionRequiredSchema
Authorizationheaderauth header of the form Token token= ...Yesstring
project_idpaththe project idYesstring
Responses
CodeDescription
200OK

null