Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run/$2?q=api&page=50&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=api

Returns an array of strings in format "username" or "username/projectName"

Found 18047 results for "api"(643ms)

myApi1 file match

@emilsall•Updated 1 year ago

getOpenapiEmbedding1 file match

@wilt•Updated 1 year ago

apiTest1 file match

@wilt•Updated 1 year ago

basicAPIEx2 file matches

@stevekrouse•Updated 1 year ago

myApi1 file match

@sharetru•Updated 1 year ago

myApi1 file match

@frankysnow•Updated 1 year ago

myApi1 file match

@steffen•Updated 1 year ago

myApi1 file match

@willosbourne•Updated 1 year ago

myApi1 file match

@riodpp•Updated 1 year ago

myApi1 file match

@markng•Updated 1 year ago

leximain.tsx2 matches

@legal•Updated 48 mins ago
466 } else { return content; }
467 } catch (error) {
468 console.error(`${agentName} OpenAI API call failed:`, error);
469 let errMsg = "AI communication error.";
470 if (error.message) errMsg += ` Details: ${error.message}`;
471 if (error.cause) errMsg += ` Cause: ${error.cause}`;
472 log.push({ agent: agentName, type: "error", message: errMsg });
473 return { error: "AI_API_ERROR", message: errMsg, details: error.toString() };
474 }
475 }

intentmain.tsx2 matches

@legal•Updated 58 mins ago
222 }
223 } catch (error) {
224 console.error(agentName, "OpenAI API call error:", error);
225 let errMsg = "AI communication error.";
226 if (error.message) errMsg += ` Message: ${error.message}`;
227 if (error.cause) errMsg += ` Cause: ${JSON.stringify(error.cause)}`;
228 log.push({ agent: agentName, type: "error", message: errMsg });
229 return { error: "AI_API_ERROR", message: errMsg, details: error.toString() };
230 }
231}
Kapil01
apiv1