Przejdź do głównej treści
POST
Utwórz narzędzie

Autoryzacje

X-API-Key
string
header
wymagane

Klucz API organizacji (konto w lewym dolnym rogu panelu → Brosbots API).

Nagłówki

authorization
string | null
X-API-Key
string | null

Treść

application/json

Utworzenie narzędzia.

name
string
wymagane
Maximum string length: 255
definition
HttpApiToolDefinition · object
wymagane

Definicja narzędzia HTTP API.

description
string | null
category
string
domyślnie:http_api
icon
string | null
domyślnie:globe
Maximum string length: 50
icon_color
string | null
domyślnie:#3B82F6
Maximum string length: 7

Odpowiedź

Pomyślna odpowiedź

Narzędzie.

id
integer
wymagane
tool_uuid
string
wymagane
name
string
wymagane
description
string | null
wymagane
category
string
wymagane
icon
string | null
wymagane
icon_color
string | null
wymagane
status
string
wymagane
definition
object
wymagane
created_at
string<date-time>
wymagane
updated_at
string<date-time> | null
wymagane
created_by
CreatedByResponse · object | null

Użytkownik, który utworzył narzędzie.