Create job
Converses with your data. Ask any question you have about your data and get insights instantly.
On Powerdrill, a job refers to a task that Powerdrill performs to generate a response based on your request (e.g., a prompt or other workflows).
For an in-depth explanation of jobs, see What Is Job?.
Authorizations
Headers
The trace ID you set in your system to trace this request. It can be up to 128 characters in length. If the request fails, you can provide it to the Powerdrill team to help with troubleshooting.
Body
The session ID.
To check sessions you created, call GET /v2/team/sessions.
The question you want Powerdrill to answer.
Your user ID, which uniquely identifies you within your team. To obtain your ID:
- If you're the team admin, refer to Check user information.
- If you're a system or virtual user, ask your team admin to check your user ID by referring to Check user information.
Whether to use stream mode. If set to true
, Powerdrill will send real-time updates to the client, delivering continuous data as it becomes available. If set to false
, Powerdrill will return the full response only once the entire answer is ready.
If not specified, the default value false
will be used.
For details about how to understand streaming responses, see "Content description" in Streaming.
The ID of the dataset to attach to the job.
To check the datasets you have access to, call GET /v2/team/datasets.
Specifies the IDs of the data sources to use in the conversation, rather than the entire dataset. You can specify up to 1,000 data sources. This parameter is effective only when dataset_id
is specified.
The language in which the output is generated. For example, if set to EN
, the output will be in English. If not specified, the session's output_language
setting will be used. Possible values are:
AUTO
: adaptive recognitionEN
: EnglishES
: SpanishAR
: ArabicPT
: PortugueseID
: IndonesianJA
: JapaneseRU
: RussianHI
: HindiFR
: FrenchDE
: GermanVI
: VietnameseTR
: TurkishPL
: PolishIT
: ItalianKO
: KoreanZH-CN
: Simplified ChineseZH-TW
: Traditional Chinese
AUTO
, EN
, ES
, AR
, PT
, ID
, JA
, RU
, HI
, FR
, DE
, VI
, TR
, PL
, IT
, KO
, ZH-CN
, ZH-TW
Job mode. Possible values are:
AUTO
: Powerdrill automatically detects your intent and selects the appropriate mode for data analysis or information retrieval.DATA_ANALYSIS
: Powerdrill focuses solely on data analysis.
If not specified, the session's job_mode
setting will be used.
AUTO
, DATA_ANALYTICS
Response
Status code. 0 indicates that the operation is successful. Otherwise, the operation fails. For error troubleshooting, refer to Error Codes.
A job object.