HackerOne icon

HackerOne

Manage your HackerOne bug bounty program via API

Actions113

HAI (AI) → Create Chat Completion

AI-generated

Summary

Send a chat completion request to the HackerOne HAI (AI) endpoint using a messages array in OpenAI-compatible format and optional contextual parameters.

Inputs

  • Prompt / Messages (JSON) (required) — Provide the chat messages as a JSON array formatted according to OpenAI's chat completion API, specifying roles and content to define the conversation.
  • Options — Configure contextual options including HAI Play ID (numeric), and comma-separated lists of program handles and report IDs to guide or influence the completion.

Output shape

a single JSON object containing the chat completion response from the HackerOne HAI API.

The response is returned as-is from the HAI endpoint and includes the generated completion data based on the prompt and optional context; errors or API-level issues may be returned if the request is invalid or unauthorized.

Links

Discussion