{
  "openapi": "3.0.1",
  "info": {
    "title": "HumanPages.ai - Hire Real Humans from Automation",
    "description": "Search for and hire real humans when your automation hits a wall. Find people by skill, location, language, and equipment. Create job offers, post to the job board, track progress, and manage payments — all from your Apify workflow.",
    "version": "1.0",
    "x-build-id": "XlWCA4uHYobZNL0fN"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/humanpages.ai~humanpages/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-humanpages.ai-humanpages",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/humanpages.ai~humanpages/runs": {
      "post": {
        "operationId": "runs-sync-humanpages.ai-humanpages",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/humanpages.ai~humanpages/run-sync": {
      "post": {
        "operationId": "run-sync-humanpages.ai-humanpages",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "action"
        ],
        "properties": {
          "action": {
            "title": "Action",
            "enum": [
              "search_humans",
              "get_human_profile",
              "create_job_offer",
              "get_job_status",
              "get_job_messages",
              "send_job_message",
              "create_listing",
              "get_listings",
              "register_agent"
            ],
            "type": "string",
            "description": "Which Human Pages action to perform.",
            "default": "search_humans"
          },
          "apiKey": {
            "title": "Human Pages API Key",
            "type": "string",
            "description": "Your Human Pages agent API key (starts with hp_). Get one at humanpages.ai/dev or use the register_agent action."
          },
          "agentId": {
            "title": "Agent ID",
            "type": "string",
            "description": "Your registered agent ID (required for job offers, messages, and profile views)."
          },
          "skill": {
            "title": "Skill",
            "type": "string",
            "description": "Filter by skill (e.g., \"photography\", \"driving\", \"notary\", \"translation\")."
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Filter by location (e.g., \"San Francisco, California, USA\"). Use fully-qualified names for best geocoding."
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "ISO language code (e.g., \"en\", \"es\", \"zh\")."
          },
          "equipment": {
            "title": "Equipment",
            "type": "string",
            "description": "Filter by equipment (e.g., \"car\", \"drone\", \"camera\")."
          },
          "maxRate": {
            "title": "Max Rate (USD/hr)",
            "type": "integer",
            "description": "Maximum hourly rate in USD."
          },
          "availableOnly": {
            "title": "Available Only",
            "type": "boolean",
            "description": "Only return currently available humans.",
            "default": true
          },
          "sortBy": {
            "title": "Sort By",
            "enum": [
              "completed_jobs",
              "rating",
              "experience",
              "recent"
            ],
            "type": "string",
            "description": "How to sort search results.",
            "default": "completed_jobs"
          },
          "humanId": {
            "title": "Human ID",
            "type": "string",
            "description": "Human ID or username (for get_human_profile, create_job_offer)."
          },
          "jobId": {
            "title": "Job ID",
            "type": "string",
            "description": "Job ID (for get_job_status, get_job_messages, send_job_message)."
          },
          "title": {
            "title": "Job Title",
            "type": "string",
            "description": "Title for the job offer or listing."
          },
          "description": {
            "title": "Job Description",
            "type": "string",
            "description": "Detailed description of what needs to be done."
          },
          "priceUsdc": {
            "title": "Price (USDC)",
            "type": "string",
            "description": "Payment amount in USDC (e.g., \"10.00\")."
          },
          "deadlineHours": {
            "title": "Deadline (hours)",
            "type": "integer",
            "description": "How many hours the human has to complete the job.",
            "default": 24
          },
          "category": {
            "title": "Category",
            "enum": [
              "GENERAL",
              "PHOTOGRAPHY",
              "DELIVERY",
              "TRANSLATION",
              "DATA_ENTRY",
              "RESEARCH",
              "WRITING",
              "DESIGN",
              "TECH",
              "LEGAL",
              "FINANCE",
              "OTHER"
            ],
            "type": "string",
            "description": "Job category for listings.",
            "default": "GENERAL"
          },
          "message": {
            "title": "Message",
            "type": "string",
            "description": "Message content (for send_job_message)."
          },
          "agentName": {
            "title": "Agent Name",
            "type": "string",
            "description": "Display name for your agent (for register_agent)."
          },
          "agentDescription": {
            "title": "Agent Description",
            "type": "string",
            "description": "What your agent does (for register_agent)."
          },
          "contactEmail": {
            "title": "Contact Email",
            "type": "string",
            "description": "Contact email for the agent operator."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}