Skip to main content
POST
/
sources
/
{source_id}
/
grep
Grep within a source
curl --request POST \
  --url https://apigcp.trynia.ai/v2/sources/{source_id}/grep \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Path Parameters

source_id
string
required

Query Parameters

type
enum<string>

Unified source type

Available options:
repository,
documentation,
research_paper,
huggingface_dataset,
local_folder

Body

application/json

The body is of type object.

Response

200 - application/json

OK

The response is of type object.