Create a Task

This section describes how to create a new task in Arthur GenAI Engine.

Option 1: Create Task via UI

Navigate to http://localhost:3030/. Click “Create Task” button in right upper corner:

This will open the form to create a new task:

  1. Enter a task name.
  2. Click "Create Task" button.

Once task is created you will be redirected to Traces page:

Task details can be seen after navigating to Settings -> Task Details:

Note: Tasks created in the UI are agentic by default.

To see more tasks navigate to All Tasks visible at the top of the nav bar.

Option 2: Create Task via API

Example API request:

curl -X POST "http://localhost:3030/api/v2/tasks" \
  -H "Authorization: Bearer {API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My Tracing Task",
    "is_agentic": true
  }'

The response will include the task id - save this as your ARTHUR_TASK_ID.