LyricPatch Agent phrase matching API
The Agent phrase matching API from LyricPatch — 1 operation(s) for agent phrase matching.
The Agent phrase matching API from LyricPatch — 1 operation(s) for agent phrase matching.
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/lyricpatch-com:lyricpatch-com-agent-phrase-matching-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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: LyricPatch Agent phrase matching API
version: 0.1.0
tags:
- name: Agent phrase matching
paths:
/v1/agent/projects/{project_id}/phrase-matches:
post:
tags:
- Agent phrase matching
summary: Phrase Matches
operationId: phrase_matches_v1_agent_projects__project_id__phrase_matches_post
parameters:
- name: project_id
in: path
required: true
schema:
type: string
format: uuid
title: Project Id
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/PhraseMatchRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/PhraseMatchResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
PhraseMatchRequest:
properties:
target_phrase:
type: string
maxLength: 300
minLength: 1
title: Target Phrase
words:
items:
$ref: '#/components/schemas/SuppliedTranscriptWord'
type: array
maxItems: 5000
minItems: 1
title: Words
additionalProperties: false
type: object
required:
- target_phrase
- words
title: PhraseMatchRequest
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
PhraseMatchResponse:
properties:
project_id:
type: string
format: uuid
title: Project Id
source:
type: string
const: agent_supplied_transcript
title: Source
default: agent_supplied_transcript
match_status:
type: string
enum:
- matched
- ambiguous
- not_found
- too_long
- too_short
title: Match Status
candidates:
items:
$ref: '#/components/schemas/PhraseCandidate'
type: array
title: Candidates
transcript_verified:
type: boolean
const: false
title: Transcript Verified
default: false
credits_charged:
type: integer
const: 0
title: Credits Charged
default: 0
message:
type: string
title: Message
type: object
required:
- project_id
- match_status
- candidates
- message
title: PhraseMatchResponse
SuppliedTranscriptWord:
properties:
text:
type: string
maxLength: 100
minLength: 1
title: Text
start_seconds:
type: number
maximum: 900.0
minimum: 0.0
title: Start Seconds
end_seconds:
type: number
maximum: 900.0
exclusiveMinimum: 0.0
title: End Seconds
additionalProperties: false
type: object
required:
- text
- start_seconds
- end_seconds
title: SuppliedTranscriptWord
PhraseCandidate:
properties:
start_sample:
type: integer
title: Start Sample
end_sample:
type: integer
title: End Sample
start_seconds:
type: number
title: Start Seconds
end_seconds:
type: number
title: End Seconds
matched_text:
type: string
title: Matched Text
match_type:
type: string
enum:
- exact
- approximate
title: Match Type
selection_valid:
type: boolean
title: Selection Valid
requires_confirmation:
type: boolean
title: Requires Confirmation
score:
type: number
title: Score
description: Text similarity, not confidence that these words were sung or that their timestamps are accurate.
type: object
required:
- start_sample
- end_sample
- start_seconds
- end_seconds
- matched_text
- match_type
- selection_valid
- requires_confirmation
- score
title: PhraseCandidate
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
securitySchemes:
HTTPBearer:
type: http
scheme: bearer