List sources

The sources in the index and their ingestion status.

GEThttps://api.typesearch.ai/v1/sources

Lists every source in the index, how many articles each one has and when it was last refreshed. Use the ids in the sources filter of a search.

A source that fails to refresh is retried later; error and retry_at say why and when.

Response

  • object"sources"

    Always sources.

  • updated_atstring | null

    The last time any source was refreshed.

  • articlesinteger

    Articles in the index.

    Range: -9007199254740991–9007199254740991

  • sourcesobject[]

    Every source in the index.

    Show child attributes
    • idstring

      Use it in the sources filter.

    • namestring

      The publication.

    • homepagestring

      Its homepage.

    • articlesinteger

      Its articles in the index.

      Range: -9007199254740991–9007199254740991

    • last_ingested_atstring | null

      When it was last refreshed.

    • viastring | null

      How it was last read: feeds (its news sitemap and RSS) or portada (its homepage).

    • errorstring | null

      The last refresh error, if any.

    • retry_atstring | null

      When a failing source will be retried.