RiskPilot API
RiskPilot customer API

API keys and usage


Your named API keys

GET
/api/v1/customer/api-keys

Your named API keys › Responses

OK

liveKeyPrefix
​string
scopes
​string[]
max
​integer
​ApiKey[]

Create a named API key (shown once)

POST
/api/v1/customer/api-keys

Create a named API key (shown once) › Request Body

name
​string · maxLength: 80 · required
scopes
​string[]
Enum values:
signals:read
companies:read

Create a named API key (shown once) › Responses

Created.

key
​string

Shown only in this answer.

​ApiKey

Revoke a named API key (at once, for good)

DELETE
/api/v1/customer/api-keys/{id}

Revoke a named API key (at once, for good) › path Parameters

id
​string · required

Key id.

Revoke a named API key (at once, for good) › Responses

OK

revoked
​boolean
​ApiKey

Your RSS feed token (its prefix; the token is shown only when made)

GET
/api/v1/customer/feed-token

Your RSS feed token (its prefix; the token is shown only when made) › Responses

OK

​

Make the RSS feed token, or rotate it (the old feed URL stops at once)

POST
/api/v1/customer/feed-token

Make the RSS feed token, or rotate it (the old feed URL stops at once) › Responses

Rotated: the old token no longer works.

token
​string

Shown only in this answer.

url
​string · uri

The feed URL with the token, ready for a feed reader.

​FeedToken

The account's RSS feed token. The token itself is shown only when it is made or rotated.


Delete the RSS feed token (switches the feed off)

DELETE
/api/v1/customer/feed-token

Delete the RSS feed token (switches the feed off) › Responses

Deleted.

No data returned

Your saved views

GET
/api/v1/customer/saved-views

Your saved views › query Parameters

page
​string · enum

Only this page's views.

Enum values:
customerSignals
customerCompanies
customerLeaderboard

Your saved views › Responses

OK

​SavedView[]

Save a view (the same name on the same page replaces it)

POST
/api/v1/customer/saved-views

Save a view (the same name on the same page replaces it) › Request Body

id
​string
page
​string · enum
Enum values:
customerSignals
customerCompanies
customerLeaderboard
name
​string · maxLength: 80
​object

At most 20 fields: strings, numbers, booleans or string lists.

Save a view (the same name on the same page replaces it) › Responses

Replaced.

id
​string
page
​string · enum
Enum values:
customerSignals
customerCompanies
customerLeaderboard
name
​string · maxLength: 80
​object

At most 20 fields: strings, numbers, booleans or string lists.


Delete a saved view

DELETE
/api/v1/customer/saved-views/{id}

Delete a saved view › path Parameters

id
​string · required

View id.

Delete a saved view › Responses

Deleted.

No data returned

Requests per day and per endpoint, against your quota (last 30 days)

GET
/api/v1/customer/usage

Requests per day and per endpoint, against your quota (last 30 days) › Responses

OK

packageId
​string
​object
today
​integer

Requests counted against the quota today (UTC).

thisMonth
​integer
limitedThisMonth
​integer
​object[]
​object[]