Request a new service connector
POST
/api/v1/forge/connector
const url = 'https://api.ultimateteam.ai/api/v1/forge/connector';const options = { method: 'POST', headers: {'X-API-Key': '<X-API-Key>', 'Content-Type': 'application/json'}, body: '{"additional_info":"example","service_name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.ultimateteam.ai/api/v1/forge/connector \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <X-API-Key>' \ --data '{ "additional_info": "example", "service_name": "example" }'Dispatch a ConnectorForge build job and return a job_id to poll for status.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
ForgeConnectorRequest
Request body for POST /forge/connector.
Attributes: service_name: The service to connect (e.g. ‘Wave Accounting’). additional_info: Optional extra context for the build.
object
Examplegenerated
{ "additional_info": "example", "service_name": "example"}Responses
Section titled “ Responses ”Successful Response
Media typeapplication/json
ForgeJobAcceptedEnvelope
Typed envelope for POST /forge/agent and POST /forge/connector (202).
object
data
required
ForgeJobAccepted
Envelope returned on successful job submission (202).
Attributes: job_id: UUID of the queued forge job. status: Always ‘pending’ at submission time.
object
job_id
required
Job Id
string
status
Status
string
Example
{ "data": { "status": "pending" }}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}