Felo API PlatformFelo API Platform
v0.1.0-beta
OpenAPI 3.1.0

Setting Google Dataset Search Tasks

服务器:https://openapi.felo.ai
客户端库

DataForSEO

​

SEO, search-engine results, keyword research, backlinks and AI visibility data.

Setting Google Dataset Search Tasks

​

Queues datasets matching a query in Google Dataset Search on Google, returning a task id in tasks[0].id. Wrapped in DataForSEO's envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200. The live twin answers immediately and is simpler for a single query; queue when the batch would outlast a tool call.

请求体
必填
application/json
  • 类型: array object[]
    • keyword
      类型: string
      必填

      Keyword to search datasets for

    • file_formats
      类型: array string[]

      Dataset file formats, such as other, archive, text, image, document, or tabular

    • language_code
      类型: string

      Search engine language code

    • language_name
      类型: string

      Full name of search engine language

    • last_updated
      类型: string

      Last time the dataset was updated, such as 1m, 1y, or 3y

    • os
      类型: string

      Device operating system, such as windows or macos

    • pingback_url
      类型: string

      Notification URL of a completed task

    • postback_data
      类型: string

      Postback datatype; possible value: advanced

    • postback_url
      类型: string

      URL for sending task results

    • priority
      类型: integer

      Task priority

    • usage_rights
      类型: string

      Usage rights, such as commercial or noncommercial

响应
  • 200
    类型: object

    Successful response

    • cost
      类型: number

      Total tasks cost, USD

    • status_code
      类型: integer

      General status code

    • status_message
      类型: string

      General informational message

    • tasks
      类型: array string[]

      Array of task objects

    • tasks_count
      类型: integer

      The number of tasks in the tasks array

    • tasks_error
      类型: integer

      The number of tasks in the tasks array returned with an error

    • tasks[].cost
      类型: number

      Cost of the task, USD

    • tasks[].id
      类型: string

      Task identifier in UUID format

    • tasks[].result_count
      类型: integer

      Number of elements in the result array

    • tasks[].status_code
      类型: integer

      Task status code

    • tasks[].status_message
      类型: string

      Task status message

    • time
      类型: string

      Execution time, seconds

    • version
      类型: string

      The current version of the API

    application/json
  • 400

    Bad request

  • 401

    Unauthorized

  • 402

    The request cannot proceed because a billing requirement is not met.

  • 403

    The account is not permitted to perform this operation.

  • 429

    Rate limit exceeded

  • 500

    Internal server error

  • 502

    The service could not complete the request.

  • 503

    The API or billing service is temporarily unavailable.

  • 504

    The service timed out while processing the request.

  • default

    The operation failed. Keep the response request ID when contacting Felo support.

Request Example for post/v1/beta/dataforseo/serp/google/dataset_search/task_post
curl https://openapi.felo.ai/v1/beta/dataforseo/serp/google/dataset_search/task_post \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '[
  {
    "keyword": "",
    "language_name": "",
    "language_code": "",
    "os": "",
    "last_updated": "",
    "file_formats": [
      ""
    ],
    "usage_rights": "",
    "priority": 1,
    "postback_url": "",
    "pingback_url": "",
    "postback_data": ""
  }
]'
{
  "version": "string",
  "status_code": 1,
  "status_message": "string",
  "time": "string",
  "cost": 1,
  "tasks_count": 1,
  "tasks_error": 1,
  "tasks": [
    "string"
  ],
  "tasks[].id": "string",
  "tasks[].status_code": 1,
  "tasks[].status_message": "string",
  "tasks[].cost": 1,
  "tasks[].result_count": 1
}
Setting Google Dataset Search Tasks