How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

LangChain optimization-jobs API

The optimization-jobs API from LangChain — 4 operation(s) for optimization-jobs.

LangChain optimization-jobs API is one of 66 APIs that LangChain publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include optimization-jobs. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.

This API exposes 9 operations across 4 paths, and defines 14 schemas. It is described by OpenAPI 3.1.0, at version 0.1.0.

Requests are made against a single base URL, /.

9 operations 4 paths 14 schemas 2 DELETE4 GET1 PATCH2 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.1.0
Base URL
https://api.smith.langchain.com
Authentication
API Key, API Key, HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 4

LangChain optimization-jobs API declares 4 security schemes for authenticating requests. An API key is passed in the header as X-API-Key (API Key). An API key is passed in the header as X-Tenant-Id (Tenant ID). It accepts HTTP bearer tokens (Bearer Auth). An API key is passed in the header as X-Organization-Id (Organization ID).

  • Bearer Auth — Bearer tokens are used to authenticate from the UI. Must also specify x-tenant-id or x-organization-id (for org scoped apis).

Paths & Operations 9

Across 4 paths, the API surfaces 9 operations — 2 DELETE, 4 GET, 1 PATCH, 2 POST. Each is listed below with its method, path, parameters, and response codes.

optimization-jobs 9
GET
/api/v1/repos/{owner}/{repo}/optimization-jobs
List Jobs
list_jobs_api_v1_repos__owner___repo__optimization_jobs_get 1 param → 200422
POST
/api/v1/repos/{owner}/{repo}/optimization-jobs
Create Job
create_job_api_v1_repos__owner___repo__optimization_jobs_post 1 param body → 200422
GET
/api/v1/repos/{owner}/{repo}/optimization-jobs/{job_id}
Get Job
get_job_api_v1_repos__owner___repo__optimization_jobs__job_id__get 1 param → 200422
PATCH
/api/v1/repos/{owner}/{repo}/optimization-jobs/{job_id}
Update Job
update_job_api_v1_repos__owner___repo__optimization_jobs__job_id__patch 1 param body → 200422
DELETE
/api/v1/repos/{owner}/{repo}/optimization-jobs/{job_id}
Delete Job
delete_job_api_v1_repos__owner___repo__optimization_jobs__job_id__delete 1 param → 200422
GET
/api/v1/repos/{owner}/{repo}/optimization-jobs/{job_id}/logs
List Job Logs
list_job_logs_api_v1_repos__owner___repo__optimization_jobs__job_id__logs_get 1 param → 200422
POST
/api/v1/repos/{owner}/{repo}/optimization-jobs/{job_id}/logs
Create Log
create_log_api_v1_repos__owner___repo__optimization_jobs__job_id__logs_post 1 param body → 200422
GET
/api/v1/repos/{owner}/{repo}/optimization-jobs/{job_id}/logs/{log_id}
Get Log
get_log_api_v1_repos__owner___repo__optimization_jobs__job_id__logs__log_id__get 1 param → 200422
DELETE
/api/v1/repos/{owner}/{repo}/optimization-jobs/{job_id}/logs/{log_id}
Delete Log
delete_log_api_v1_repos__owner___repo__optimization_jobs__job_id__logs__log_id__delete 1 param → 200422

Schemas 14

The contract defines 14 schemas that model the data the API accepts and returns. The most detailed are PromptOptimizationJobWithLogs (10 properties), PromptimConfig (9 properties), PromptOptimizationJob (9 properties), PromptOptimizationJobLog (6 properties). Each schema is shown below with its type and property counts.

PromptOptimizationJobUpdate
object
2 properties
ValidationError
object
3 properties 3 required
PromptOptimizationResult
object
3 properties 3 required
PromptOptimizationJobLog
object
6 properties 5 required
DemoConfig
object
4 properties 4 required
PromptOptimizationJobLogCreate
object
3 properties 2 required
HTTPValidationError
object
1 property
PromptOptimizationJob
object
9 properties 8 required
EPromptOptimizationJobStatus
string
PromptOptimizationJobCreate
object
2 properties 2 required
EPromptOptimizationAlgorithm
string
PromptimConfig
object
9 properties 9 required
EPromptOptimizationJobLogType
string
PromptOptimizationJobWithLogs
object
10 properties 9 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

langchain-optimization-jobs-api-openapi.yml Raw ↑

Other APIs LangChain publishes across the network.

LangChain access_policies API
LangChain ace API
LangChain alert_rules API
LangChain annotation-queues API
LangChain api-key API
LangChain audit-logs API
LangChain auth API
LangChain aws_marketplace API
LangChain backfills API
LangChain beacon API
LangChain bulk-exports API
LangChain charts API
Where this information came from

This is an independent, third-party profile of LangChain optimization-jobs API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.