Attach files to agent via API?
Is it possible to attach files to the agent via the API?
I can't seem to update the contents of a file via the API (please correct me if I'm wrong).
So my workaround would be to create a file, unlink the old file, and link the newly uploaded file to the agent and update it once a week or two.
I'm doing this for an employee directory so that VAPI doesn't have to do any tool calls and can just rely on the directory that won't change very often.
I have about 300 or so names and numbers, some get removed and some get added over time.
I can't seem to update the contents of a file via the API (please correct me if I'm wrong).
So my workaround would be to create a file, unlink the old file, and link the newly uploaded file to the agent and update it once a week or two.
I'm doing this for an employee directory so that VAPI doesn't have to do any tool calls and can just rely on the directory that won't change very often.
I have about 300 or so names and numbers, some get removed and some get added over time.