Meta

Retrieve a platform method

Read one platform method with its complete TypeScript declaration; public, no key required, not billed.

GET /meta/v1/methods/{name}● Supported

Request parameters

  • namestring必填

    path: Exact method name from the search results, for example `praxis.database.databases.tables.create`.

Returns

200

name comes from the search results and must match the method name exactly. The declaration is never truncated; copy field names and enum values from it. An unknown name returns 404 METHOD_NOT_FOUND whose hint lists up to three similar names.

Errors follow the problem+json format — see error codes

Response

HTTP 200

The method with its complete declaration.

application/json

NameTypeDescription
namestringMethod name, for example `praxis.agent.agents.list`.
summarystringOne-line statement of what the method does.
descriptionstringFull guidance for the method from the API reference, including when to use it, limits and error behaviour. May be empty for methods documented only by summary.
httpstringHTTP verb the method sends.
pathstringPublic API path template with `{param}` placeholders.
declarationstringComplete TypeScript signature, `name(args): Promise<Result>`. `args` carries `path`, `query`, `headers` and `body` members exactly as declared. Never truncated.
parametersarray<object>Path, query and header parameters of the operation.
parameters[].namestringParameter name as sent on the wire.
parameters[].instringWhere the parameter goes, one of `path`, `query` or `header`; maps to the matching member of `args`.
parameters[].requiredbooleanWhether the call is rejected when the parameter is missing.
parameters[].descriptionstringMeaning, format and allowed values of the parameter.
parameters[].typestringTypeScript type of the parameter value.
request_bodyobjectRequest body expectations; null when the method takes no body.
request_body.requiredbooleanWhether `args.body` must be supplied.
request_body.descriptionstringWhat the body carries.
request_body.content_typesarray<string>Media types the body may use; the first is the default.
responsesarray<object>Documented responses, successful and failed.
responses[].statusstringHTTP status code or `default`.
responses[].descriptionstringWhat the response means and what to do next.
responses[].content_typesarray<string>Media types the response may use.