Skip to main content
GET
/
api
/
lab1
/
lab1-action
Lab1 Action
curl --request GET \
  --url https://platform.agileloop.ai/api/lab1/lab1-action \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "",
  "data": {
    "states": [
      {
        "title": "Google",
        "headings": [],
        "interactable_elements": {
          "tag_name": "TEXTAREA",
          "label": "Search",
          "bounding_box": {
            "x": 396,
            "y": 258,
            "width": 443,
            "height": 27
          }
        }
      },
      {
        "title": "Google",
        "headings": [],
        "interactable_elements": {
          "tag_name": "TEXTAREA",
          "label": "Search",
          "bounding_box": {
            "x": 396,
            "y": 258,
            "width": 443,
            "height": 27
          }
        }
      }
    ],
    "actions": [
      {
        "instruction": "type",
        "target": {
          "tag_name": "TEXTAREA",
          "label": "Search",
          "bounding_box": {
            "x": 396,
            "y": 258,
            "width": 443,
            "height": 27
          }
        },
        "content": "weather in London"
      },
      {
        "instruction": "type",
        "target": {
          "tag_name": "TEXTAREA",
          "label": "Search",
          "bounding_box": {
            "x": 396,
            "y": 258,
            "width": 443,
            "height": 27
          }
        },
        "content": "weather in London"
      }
    ],
    "action": {
      "instruction": "type",
      "target": {
        "tag_name": "TEXTAREA",
        "label": "Search",
        "bounding_box": {
          "x": 396,
          "y": 258,
          "width": 443,
          "height": 27
        }
      },
      "content": "weather in London"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

query
string

Response

200 - application/json

OK

The response is of type object.