Check a request

An authenticated client can check the status and response of a current or past request.

Get data about a past request

GET https://opensourceAIs.com/api/v1/private/client/request/{{uid_backlog}}

Path Parameters

Name
Type
Description

uid_backlog

String

the uid that you received when calling the AI for processing a request


{
    "data": {
        "client_token": "a64f7ccc38cd34baac87e5f9fc2",
        "uid_backlog": 1677773592000,
        "ai_engine": "diffusion",
        "params": {
            "username": "test.com",
            "word": "a big blue book on a red table",
            "width": 320,
            "height": 320,
            "model": "ldm/stable-diffusion-v1/sd-v1-4.ckpt",
            "cimg": 1,
            "guidance": 8.5,
            "strength": 0.5,
            "seed": 15366,
            "steps": 20,
            "url": "https://opensourceAIs.com/uploads/client/1677773592000.jpg",
            "uid_backlog": 1677773592000,
            "client_token": "a64f7ccc38cd34baac87e5f9fc2"
        },
        "started_at": "2023-03-02T16:13:12.000Z",
        "response": [
            {
                "filename": "https://opensourceAIs.com/uploads/ai/1677773592000.jpg_0334.png",
                "cycle": 0
            }
        ],
        "cost_in_sec": 5,
        "ended_at": "2023-03-02T16:13:17.000Z"
    }
}

Last updated