object

# `open_ai_catalog`

Generated catalog for the public non-admin OpenAI API endpoint surface.

Availability:
`logtalk_load(open_ai(loader))`
Author: Paulo Moura
Version: 1:0:0
Date: 2026-07-09
Compilation flags:
`static, context_switching_calls`
Dependencies:
(none)
Remarks:
(none)
Inherited public predicates:
(none)

## Public predicates

### `spec_version/1`

Returns the pinned OpenAI OpenAPI document version used to generate the catalog.

Compilation flags:
`static`
Template:
`spec_version(Version)`
Mode and number of proofs:
`spec_version(-atom)` - `one`

### `operation_count/1`

Returns the number of public non-admin OpenAI operations in the generated catalog.

Compilation flags:
`static`
Template:
`operation_count(Count)`
Mode and number of proofs:
`operation_count(-integer)` - `one`

### `operation/8`

Enumerates generated OpenAI operation descriptors.

Compilation flags:
`static`
Template:
`operation(Id,Tag,Method,Path,Summary,Parameters,RequestBody,Responses)`
Mode and number of proofs:
`operation(?atom,?atom,?atom,?atom,?atom,?list(compound),?compound,?list(compound))` - `zero_or_more`

### `operation_properties/2`

Enumerates additional generated OpenAPI properties for an operation.

Compilation flags:
`static`
Template:
`operation_properties(Id,Properties)`
Mode and number of proofs:
`operation_properties(?atom,?list(compound))` - `zero_or_more`

## Protected predicates

(none)

## Private predicates

(none)

## Operators

(none)