GET
/
search
/
results
Async results
curl --request GET \
  --url https://api.agentfirst.dev/search/results \
  --header 'Authorization: Bearer <token>'
{
  "terms": "foo",
  "results": [
    {
      "type": "organic",
      "page": 1,
      "section": "main",
      "feature": 1,
      "position": 1,
      "url": "https://foofighters.com/",
      "title": "Foo Fighters",
      "site": "Foo Fighters",
      "visibleUrl": "https://foofighters.com",
      "date": null,
      "snippet": "Official website of Foo Fighters.",
      "rating": null,
      "votes": null,
      "sitelinks": [
        {
          "position": 1,
          "url": "https://foofighters.com/tour-dates/",
          "title": "Tour Dates"
        }
      ],
      "images": [
        {
          "position": 1,
          "source": "[Image data]",
          "altText": "foo from en.wikipedia.org"
        }
      ]
    }
  ],
  "resultsCount": 43,
  "approxResultsCount": 255000000,
  "resultsOffset": null,
  "pageCount": 1,
  "pageSize": null,
  "country": null,
  "subdivision": null,
  "city": null,
  "uule": null,
  "language": null
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
string
required

The identifier returned by the search endpoint of the queued search to retrieve.

Response

200
application/json

The job results or status.

The response is of type object.