Llm Connector
APIs specific to LLM connectors
Query parameters
accountIdentifierstring · min: 1Required
Account Identifier for the Entity.
orgIdentifierstringOptional
Organization Identifier for the Entity.
projectIdentifierstringOptional
Project Identifier for the Entity.
Body
LLM authentication details used to discover provider model targets
providerstring · enumRequiredPossible values:
urlstringOptional
regionstringOptional
authenticationone ofOptional
or
or
Responses
400
Bad Request
application/json
This is Failure entity as defied in Harness
statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
500
Internal server error
application/json
post/llm-connector/models
POST /gateway/ng/api/llm-connector/models?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 97
{
"provider": "ANTHROPIC",
"url": "text",
"region": "text",
"authentication": {
"type": "Token",
"spec": {}
}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?