> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fastino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Use https://docs.fastino.ai/llms.txt to discover and navigate pages. Use https://docs.fastino.ai/llms-full.txt when you need the complete documentation corpus. Use https://docs.fastino.ai/openapi.json as the source of truth for customer-facing routes. For GLiDE decision inference, call POST https://api.fastino.ai/v1/systemone with model fastino/GLiDE. Start managed training (config job) with POST /v1/training/jobs using base_model. For interactive training, native JSON clients use the public operations under /v1/training/jobs and /v1/training/usage. Existing Tinker clients use tinker==0.32.0 with TINKER_BASE_URL=https://api.fastino.ai/v1/training/compat/tinker and TINKER_CREDENTIAL_CMD. Compatibility child routes are private and absent from OpenAPI. Auto Train is private access and has no public route; direct interested users to sales@fastino.ai. Do not infer undocumented routes. Read API keys from FASTINO_API_KEY and never embed credentials in code, logs, or reports.

# Get an asynchronous GLiNER-2 job

> Poll a GLiNER-2 asynchronous job by its job_id until it completes or fails, with example processing, complete, and error responses.

`GET /v1/gliner-2/jobs/{job_id}`

Poll a GLiNER-2 asynchronous job until it completes or fails. Use the same API key that
submitted the job; jobs are scoped to the authenticated user.

The OpenAPI panel on this page is the source of truth for the `job_id` path parameter and
every response field.

## Request example

```bash theme={null}
curl "https://api.fastino.ai/v1/gliner-2/jobs/3f08a17f-777a-4aa6-8ec5-879df37775a8" \
  -H "X-API-Key: $FASTINO_API_KEY"
```

## Processing response

Continue polling while `status` is `pending` or `processing`:

```json theme={null}
{
  "job_id": "3f08a17f-777a-4aa6-8ec5-879df37775a8",
  "status": "pending",
  "result": null,
  "error": null,
  "token_usage": 1284307,
  "created_at": "2026-10-07T22:10:00+00:00",
  "completed_at": null
}
```

## Complete response

Stop polling when `status` is `complete`. The `result` follows the schema from the
submission request:

```json theme={null}
{
  "job_id": "3f08a17f-777a-4aa6-8ec5-879df37775a8",
  "status": "complete",
  "result": {
    "entities": [
      {
        "text": "Apple",
        "label": "organization",
        "score": 0.99,
        "start": 0,
        "end": 5
      }
    ]
  },
  "error": null,
  "token_usage": 1284307,
  "created_at": "2026-10-07T22:10:00+00:00",
  "completed_at": "2026-10-07T22:13:42+00:00"
}
```

## Zero Data Retention

For a team with Zero Data Retention, a completed response sets `notice` to
explain that the result is available once. Read and persist it in your own
approved system during that poll: Fastino deletes the result after the first
read, or 24 hours after completion if it is never read.

```json theme={null}
{
  "status": "complete",
  "result": {"entities": []},
  "notice": "<server-provided Zero Data Retention notice>"
}
```

## Error response

A finished job can report `status: "error"` with a message in `error`:

```json theme={null}
{
  "job_id": "3f08a17f-777a-4aa6-8ec5-879df37775a8",
  "status": "error",
  "result": null,
  "error": "The input could not be processed",
  "token_usage": 1284307,
  "created_at": "2026-10-07T22:10:00+00:00",
  "completed_at": "2026-10-07T22:10:08+00:00"
}
```

An unknown job, or one belonging to another user, returns `404`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.