Create and manage your API keys in the Livepeer.com dashboard. Learn more here.
Keep your keys safe. They are not retrievable through the Livepeer.com dashboard once created. Consider using a password manager or secrets management tool.
The api-token
object represents an API key. You can also retrieve the
api-token
object to get an API key’s attributes.
curl -H 'authorization: Bearer <api-key>' \"https://livepeer.com/api/api-token/<api-key>"
{"id":"<api-key>","kind":"api-token","name":"test-api-key","userId":"xxxxxxxx-xxxx-xxxx-xxxx-xxxx","lastSeen":1596874088,"createdAt":1595721600}
Parameter | Type | Description |
---|---|---|
createdAt | number | Timestamp when the api-token object was created. Reported in Unix epoch time. |
id | string | Unique Livepeer.com API key. |
kind | string | Livepeer.com API object type. |
lastSeen | number | Timestamp when the api-token object was last active. Reported in Unix epoch time. An active livestream means segments are being ingested. |
name | string | Additional identifier for the asset set in the Livepeer.com dashboard. Often set to a human readable string. |
userId | string | Unique identifier for the Livepeer.com user account that created the api-token object. |