---
title: "List what the discovery job tried"
method: GET
path: "/v1/data-library/discovery"
tags: ["Data Library"]
---

# List what the discovery job tried

`GET /v1/data-library/discovery`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/data-library/discovery`
- Auth: HTTP bearer

What the discovery job tried for the wanted sources of the workspace (its grid-operator site lookups and the shared price sheets), ordered by last update, latest first.

## Query parameters

- `status` 'pending' | 'found' | 'failed'
- `limit` integer

## Response `200`

Discovery states.

- object
  - `data` DataLibraryDiscoveryState[], required
    - `target` string: The wanted dataset key, or `de.grid-operators|<energy>|<site>` for a site lookup.
    - `shared` boolean: True for a shared price-sheet lookup; false for the workspace's own site lookup.
    - `status` 'pending' | 'found' | 'failed'
    - `problem` string, nullable: Why a lookup failed, for example `no_postcode`, `no_location`, `no_operator`, `gas_operator_unknown`, `no_site`, `no_sheet`, `needs_ocr`, `provisional_only`, `error`.
    - `detail` string, nullable
    - `attempts` integer
    - `next_attempt_at` string, date-time, nullable
    - `result` object: What was found: the sheet URL, the page linking it, the dataset created, the operator.
    - `updated_at` string, date-time

## Other responses

- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `429`: Daily rate limit exceeded.

## Changes

- **2026-10-28** `0a485a46163e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/data-library/discovery/get.md)

---

[API](https://skmtc.dev/talonic/apis/talonic-api.md) - [All operations](https://skmtc.dev/talonic/apis/talonic-api/llms.txt) - [OpenAPI document](https://skmtc.dev/talonic/apis/talonic-api/revisions/9f6d53e2ab5e?raw)
