Get enterprise trials

Get enterprise trials

Get a list of all enterprise trials for a user. This function is only available through a JWT token.

GEThttps://studio.edgeimpulse.com/v1/api/users/{userId}/trials
Path parameters
userId*integer

User ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

trials*array of EnterpriseTrial (object)

Current or past enterprise trials.

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/users/{userId}/trials', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "trials": [
    {
      "id": 0,
      "userId": 0,
      "organizationId": 0,
      "created": "2025-01-11T20:13:02.874Z",
      "expirationDate": "2020-01-01T00:00:00Z",
      "notes": "This is a trial for the company's new project.",
      "expiredDate": "2025-01-11T20:13:02.874Z",
      "deletedDate": "2025-01-11T20:13:02.874Z",
      "upgradedDate": "2025-01-11T20:13:02.874Z"
    }
  ]
}

Last updated