Skip to main content
GET
/
v1beta2
/
tool
/
{tool_uid}
/
latest-interface
Get Latest Tool Interface
curl --request GET \
  --url https://api.hunch.tools/v1beta2/tool/{tool_uid}/latest-interface \
  --header 'Authorization: Bearer <token>'
{
  "tool_uid": "<string>",
  "name": "<string>",
  "interface": {
    "blocks": [
      {
        "type": "input",
        "title": "<string>"
      }
    ]
  },
  "interface_digest": "<string>"
}

Authorizations

Authorization
string
header
required

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

Headers

authorization
string | null

Path Parameters

tool_uid
string
required

Response

Successful Response

The response body returned when requesting a tool's interface.

tool_uid
string
required

The unique identifier of the tool

name
string
required

The name of the tool

interface
object
required

The interface schema of the tool

interface_digest
string
required

A digest of the interface schema. Useful to easily check if the interface has changed.