INNER CODE UNIT · TypeScript

client

unbody-io/unbody · src/client/admin/index.ts:47

      export function client(client: BaseClient): Client {
        return {
          init: async (sourceId: string) => {
            return client.request(
              'POST',
              `/admin/projects/any/sources/${sourceId}/indexing/init`,
            )
          },

          rebuild: async (sourceId: string) => {
            return client.request(
              'POST',
              `/admin/projects/any/sources/${sourceId}/indexing/rebuild`,
            )
          },

          update: async (sourceId: string) => {
            return client.request(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…