GET
/
pub
/
v1
/
generations
curl --request GET \
  --url https://api.rendernet.ai/pub/v1/generations \
  --header 'X-API-KEY: <x-api-key>'
{
  "data": [
    {
      "created_at": 1675732000,
      "generation_id": "gen_01",
      "media": [
        {
          "id": "media_01",
          "dim": {
            "height": 512,
            "width": 512
          },
          "type": "image",
          "status": "success",
          "url": "object-url"
        }
      ]
    }
  ],
  "err": {},
  "pagination": {
    "page": 1,
    "page_size": 10,
    "total": 100
  }
}

Headers

X-API-KEY
string
required

API key needed to access our public endpoints. You can find yours under the 'Account' section of the website

Query Parameters

status
enum<string>

The status of the feed item. (optional)

Available options:
success,
failed
media_id
string

The id of the media (optional)

generation_id
string

The id of the generation (optional)

page
integer

The page number of the feed

Required range: x > 1
page_size
integer

The page size of the feed

Required range: 1 < x < 50

Response

200 - application/json
A list of feed items
data
object[]
err
object

The error if the request was not successful

pagination
object

The pagination information