> For the complete documentation index, see [llms.txt](https://usmanheart.gitbook.io/realapi-1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://usmanheart.gitbook.io/realapi-1/using-socket.md).

# Using SOCKET

You can use `SOCKET` to get live status of your job.

Key features:

Endpoint: `wss://app.real-api.online/login`

**Login Parameters:**

`user_name`

`app_key`

`app_secret`

`prod_key`

`ins_id`

View all jobs:\
`wss://app.real-api.online/login?app_key=<`**`app_key`**`>&prod_key=<`**`prod_key`**`>&ins_id=<`**`ins_id`**`>`

View specific project's job:\
`wss://app.real-api.online/login?app_key=<`**`app_key`**`>&prod_key=<`**`prod_key`**`>&ins_id=<`**`ins_id`**`>&`exp\_from`=<`exp\_from`>`

Login Response:

```json
{
    "type": "auth_success",
    "msg": null,
    "data": [
        {
            "jobID": <job_id>,
            "status": <job_status>,
            "used": <rendered_time_used_in_sec>,
            "outExt": <output_extension>,
            "jobExt": <input_extension>,
            "expFrom": <exported_from>,
            "samples": <samples_used_in_rendering>,
            "charges": <amount_charged>,
            "chargeType": "balance",
            "renderTime": <time_when_render_start>
        },
        {
            "jobID": <job_id>,
            "status": <job_status>,
            .....
        }
    ]
}
```

<figure><img src="https://github.com/Realistic3D/RealAPI/blob/main/docs/readme/.gitbook/assets/show_jobs.png" alt=""><figcaption></figcaption></figure>
