Batch Create Code Records
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path Parameters
domain
Request
This endpoint expects a list of objects.
document
The content of the code document that will be returned to Ask Fern during retrieval.
chunk
The textual content that should be vectorized when indexing the code. If not provided, the full document will be vectorized.
title
The title of the code document. This will be used with the url when Ask Fern cites this code.
url
The url of the code document. This will be used as the source when Ask Fern cites it.
version
The version of the code. This will be compared against when running Ask Fern with version filters. If null, the code will be retrievable by all versions.
product
The product of the code. This will be used to filter code when running Ask Fern with product filters. If null, the code will be retrievable by all products.
keywords
The keywords of the code. Adding keywords can improve code matching.
authed
Whether the code is authed. If true, the code will be retrievable by all users.
Response
Successful Response
code_id
The unique identifier of the created code entry