GET
/
api
/
v1
/
pods
/
history
Get Pods History
curl --request GET \
  --url https://api.primeintellect.ai/api/v1/pods/history \
  --header 'Authorization: Bearer <token>'
{
  "total_count": 0,
  "offset": 0,
  "limit": 100,
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "providerType": "runpod",
      "provisionedBy": "<string>",
      "type": "Instance",
      "createdAt": "2023-11-07T05:31:56Z",
      "terminatedAt": "2023-11-07T05:31:56Z",
      "gpuName": "<string>",
      "gpuCount": 1,
      "socket": "<string>",
      "priceHr": 1.23,
      "userId": "<string>",
      "teamId": "<string>",
      "totalBilledPrice": 123.45
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

sort_by
enum<string>
default:terminatedAt
Available options:
terminatedAt,
createdAt
sort_order
enum<string>
default:desc
Available options:
asc,
desc
offset
integer
default:0
limit
integer
default:100

Response

200
application/json

Successful Response

The response is of type object.