Luminance Traffic Light Analysis API
The Traffic Light Analysis API from Luminance — 3 operation(s) for traffic light analysis.
The Traffic Light Analysis API from Luminance — 3 operation(s) for traffic light analysis.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/luminance-traffic-light-analysis-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Luminance Traffic Light Analysis API
version: '1.0'
description: 'Operations tagged Traffic Light Analysis across 3 of this provider''s published API definitions: luminance-api-v1-3-openapi-original.yml, luminance-api-v1-4-openapi-original.yml, luminance-traffic-light-analysis-api-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://your-instance.app.luminance.com/api2
description: Base URL declared by the provider in apis.yml (roadmap#122).
tags:
- name: Traffic Light Analysis
paths:
/projects/{project-id}/tasks/knowledge_bank_from_template:
post:
tags:
- Traffic Light Analysis
summary: Create a new criteria-based Knowledge Bank by specifying a document to create knowledge bank positions from and a contract type for that document, resulting in a precedent type task being created for the specified module
requestBody:
description: See schema for options and required information in body of request
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/KnowledgeBankFromTemplate'
parameters:
- $ref: '#/components/parameters/project-id'
- $ref: '#/components/parameters/async'
security:
- OAuth2: []
responses:
'200':
$ref: '#/components/responses/knowledge_bank_from_template_202'
'401':
$ref: '#/components/responses/401'
'403':
$ref: '#/components/responses/403'
'405':
$ref: '#/components/responses/405'
'422':
$ref: '#/components/responses/422'
'429':
$ref: '#/components/responses/429'
'500':
$ref: '#/components/responses/500'
/projects/{project-id}/tasks/{task-id}/reviews/{review-id}/analysis:
get:
tags:
- Traffic Light Analysis
summary: Get a JSON object containing the Traffic Light Analysis results for AI review completed on a single document. this may have been initiated from the {document-id}/traffic_light_analysis endpoint, in which case the analysis may not be immediately available, there will be up to a few minutes to wait. The response will be an empty array until complete.
parameters:
- $ref: '#/components/parameters/review-id'
- $ref: '#/components/parameters/task-id'
- $ref: '#/components/parameters/project-id'
security:
- OAuth2: []
responses:
'200':
$ref: '#/components/responses/review_analysis_200'
'401':
$ref: '#/components/responses/401'
'403':
$ref: '#/components/responses/403'
'404':
$ref: '#/components/responses/404'
'405':
$ref: '#/components/responses/405'
'422':
$ref: '#/components/responses/422'
'429':
$ref: '#/components/responses/429'
'500':
$ref: '#/components/responses/500'
/projects/{project-id}/documents/{document-id}/traffic_light_analysis:
post:
tags:
- Traffic Light Analysis
summary: Initiates Traffic Light Analysis on a document
parameters:
- $ref: '#/components/parameters/document-id'
- $ref: '#/components/parameters/project-id'
requestBody:
description: Send the taskId of the 'precedent' type Task (Knowledge Bank in the User Interface) which will be used to run traffic light analysis against the documentId in the path
required: true
content:
application/json:
schema:
type: object
properties:
task_id:
type: integer
example: 67
required:
- task_id
security:
- OAuth2: []
responses:
'202':
$ref: '#/components/responses/traffic_light_analysis_202'
'401':
$ref: '#/components/responses/401'
'403':
$ref: '#/components/responses/403'
'405':
$ref: '#/components/responses/405'
'422':
$ref: '#/components/responses/422'
'429':
$ref: '#/components/responses/429'
'500':
$ref: '#/components/responses/500'
components:
responses:
traffic_light_analysis_202:
description: Message confirming Traffic Light Analysis has started on a particular document specified in the message response
content:
application/json:
schema:
type: object
properties:
message:
type: string
example: Traffic Light Analysis started on document 896
knowledge_bank_from_template_202:
description: JSON object of message and resulting taskId generated to create a Knowledge Bank from template. Bear in mind that while the task may be created, positions may take longer to generate (up to 15 minutes).
content:
application/json:
schema:
message:
type: string
example: Knowledge Bank created. Generating positions from provided template.
task_id:
type: integer
description: taskID of the newly created 'precedent' type task created as a Knowledge Bank in the user interface
example:
message: Knowledge Bank created. Generating positions from provided template.
task_id: 130
'429':
description: Too many requests have been sent to the server over a given time period. Please contact Luminance's support team.
'422':
description: Unprocessable Entity - the request was well formed, but not processable
'403':
description: Forbidden - the authenticated user does not have sufficient permissions to perform this action
'401':
description: Unauthorized - the authentication provided was invalid
'500':
description: Internal server error
'404':
description: Not Found
'405':
description: Method not allowed (calling api with wrong method)
review_analysis_200:
description: JSON array of objects representing AI outputs from Traffic Light Analysis
content:
application/json:
schema:
$ref: '#/components/schemas/traffic_light_analysis'
example: null
schemas:
KnowledgeBankFromTemplate:
type: object
description: Payload necessary to create a knowledge bank from a specified document ID of the specified contract type
properties:
document_id:
type: integer
example: 698
description: The document ID to find positional information in and generate a knowledge bank from
contract_type:
type: string
enum:
- non%2Ddisclosure-agreement
- services-agreement
example: non%2Ddisclosure-agreement
description: Select the from the available Luminance contract type modules which can be used to generate positions from ontracts of that type
include_luminance_basis:
type: boolean
example: false
description: Whether or not to include standard Luminance position information in this knowledge bank from the selected module, or only to use position information found in the specified document ID
name:
type: string
example: New Knowledge Bank from for Master Services Agreement
description: the name for the new Knowledge Bank created
parameters:
async:
name: async
in: query
description: Whether to make the call synchronously or wait for the precedent type task to be created asynchronously when creating a Knowledge Bank from template.
required: true
schema:
type: boolean
format: boolean
minimum: 0
project-id:
name: project-id
in: path
description: Project ID
required: true
schema:
type: integer
format: int32
minimum: 0
document-id:
name: document-id
in: path
description: Document ID
required: true
schema:
type: integer
format: int32
minimum: 0
review-id:
name: review-id
in: path
description: Review ID
required: true
schema:
type: integer
format: int32
minimum: 0
task-id:
name: task-id
in: path
description: Task ID
required: true
schema:
type: integer
format: int32
minimum: 0
securitySchemes:
OAuth2:
type: oauth2
flows:
clientCredentials:
tokenUrl: https://moniker.app.luminance.com/auth/oauth2/token
x-refined-from:
- luminance-api-v1-3-openapi-original.yml
- luminance-api-v1-4-openapi-original.yml
- luminance-traffic-light-analysis-api-openapi.yml