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

# 抓取信息

> 获取有关特定抓取的信息。



## OpenAPI

````yaml zh/openapi/crawls.json GET /v1/crawls/{crawl_id}
openapi: 3.0.3
info:
  title: 爬虫 API
  version: 1.0.0
servers:
  - url: https://api.olostep.com
security: []
paths:
  /v1/crawls/{crawl_id}:
    get:
      summary: 获取爬取信息
      description: 使用特定的 `crawl_id` 获取有关特定爬取的信息。
      parameters:
        - name: crawl_id
          in: path
          required: true
          schema:
            type: string
          description: 要获取信息的爬取ID。
      responses:
        '200':
          description: 成功响应，包含爬取信息。
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: 爬虫 ID
                  object:
                    type: string
                    description: 对象的类型。此端点为 "crawl"。
                  status:
                    type: string
                    description: '`in_progress` 或 `completed`'
                  created:
                    type: number
                    description: 创建时间（epoch格式）
                  start_date:
                    type: string
                    description: 创建时间（日期格式）
                  start_url:
                    type: string
                  max_pages:
                    type: number
                  max_depth:
                    type: number
                  exclude_urls:
                    type: array
                    items:
                      type: string
                  include_urls:
                    type: array
                    items:
                      type: string
                  include_external:
                    type: boolean
                  search_query:
                    type: string
                  top_n:
                    type: number
                  current_depth:
                    type: number
                    description: 爬取过程的当前深度。
                  pages_count:
                    type: number
                    description: 已爬取页面的数量
                  webhook:
                    type: string
                  follow_robots_txt:
                    type: boolean
                  credits_consumed:
                    type: integer
                    nullable: true
                    description: 此请求消耗的积分数量。在执行完成后填充。积分是计费的真实来源。
                  cost_usd:
                    type: number
                    nullable: true
                    description: >-
                      此请求的估计成本（以美元计）。在执行完成后填充。根据消耗的积分和你的计划费率计算——99% 准确，但
                      credits_consumed 是权威值。
        '400':
          description: 由于参数错误或缺失导致的错误请求。
        '404':
          description: 提供的ID未找到爬取。
        '500':
          description: 内部服务器错误。
      security:
        - Authorization: []
components:
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: Bearer认证头格式为Bearer <token>，其中<token>是你的认证令牌。

````